Register cables in preinit, and switch cable items and storage blocks to jsons
This commit is contained in:
parent
14c2b540f2
commit
b3988e4c4f
14 changed files with 176 additions and 175 deletions
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "builtin/generated",
|
||||
"transform": "forge:default-item"
|
||||
},
|
||||
"variants": {
|
||||
"type": {
|
||||
"copper": {
|
||||
"textures": {
|
||||
"layer0": "techreborn:items/cables/copper"
|
||||
}
|
||||
},
|
||||
"glassfiber": {
|
||||
"textures": {
|
||||
"layer0": "techreborn:items/cables/glassfiber"
|
||||
}
|
||||
},
|
||||
"gold": {
|
||||
"textures": {
|
||||
"layer0": "techreborn:items/cables/gold"
|
||||
}
|
||||
},
|
||||
"hv": {
|
||||
"textures": {
|
||||
"layer0": "techreborn:items/cables/hv"
|
||||
}
|
||||
},
|
||||
"insulatedcopper": {
|
||||
"textures": {
|
||||
"layer0": "techreborn:items/cables/insulatedcopper"
|
||||
}
|
||||
},
|
||||
"insulatedgold": {
|
||||
"textures": {
|
||||
"layer0": "techreborn:items/cables/insulatedgold"
|
||||
}
|
||||
},
|
||||
"insulatedhv": {
|
||||
"textures": {
|
||||
"layer0": "techreborn:items/cables/insulatedhv"
|
||||
}
|
||||
},
|
||||
"tin": {
|
||||
"textures": {
|
||||
"layer0": "techreborn:items/cables/tin"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"textures": {},
|
||||
"transform": "forge:default-block",
|
||||
"model": "cube_all"
|
||||
},
|
||||
"variants": {
|
||||
"inventory": [
|
||||
{}
|
||||
],
|
||||
"type": {
|
||||
"galena": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreGalena"
|
||||
}
|
||||
},
|
||||
"iridium": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreIridium"
|
||||
}
|
||||
},
|
||||
"ruby": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreRuby"
|
||||
}
|
||||
},
|
||||
"sapphire": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreSapphire"
|
||||
}
|
||||
},
|
||||
"bauxite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreBauxite"
|
||||
}
|
||||
},
|
||||
"pyrite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/orePyrite"
|
||||
}
|
||||
},
|
||||
"cinnabar": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreCinnabar"
|
||||
}
|
||||
},
|
||||
"sphalerite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreSphalerite"
|
||||
}
|
||||
},
|
||||
"tungston": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreTungston"
|
||||
}
|
||||
},
|
||||
"sheldonite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreSheldonite"
|
||||
}
|
||||
},
|
||||
"peridot": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/orePeridot"
|
||||
}
|
||||
},
|
||||
"sodalite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreSodalite"
|
||||
}
|
||||
},
|
||||
"lead": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreLead"
|
||||
}
|
||||
},
|
||||
"silver": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreSilver"
|
||||
}
|
||||
},
|
||||
"copper": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreCopper"
|
||||
}
|
||||
},
|
||||
"tin": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/oreTin"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -20,6 +20,11 @@
|
|||
"all": "techreborn:blocks/storage/aluminum_block"
|
||||
}
|
||||
},
|
||||
"iridium": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/iridium_block"
|
||||
}
|
||||
},
|
||||
"titanium": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/titanium_block"
|
||||
|
@ -74,66 +79,6 @@
|
|||
"textures": {
|
||||
"all": "techreborn:blocks/storage/invar_block"
|
||||
}
|
||||
},
|
||||
"iridium": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/iridium_block"
|
||||
}
|
||||
},
|
||||
"tungstensteel": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/tungstensteel_block"
|
||||
}
|
||||
},
|
||||
"iridium_reinforced_tungstensteel": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/iridium_reinforced_tungstensteel_block"
|
||||
}
|
||||
},
|
||||
"iridium_reinforced_stone": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/iridium_reinforced_stone_block"
|
||||
}
|
||||
},
|
||||
"ruby": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/ruby_block"
|
||||
}
|
||||
},
|
||||
"sapphire": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/sapphire_block"
|
||||
}
|
||||
},
|
||||
"peridot": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/peridot_block"
|
||||
}
|
||||
},
|
||||
"yellowGarnet": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/yellowGarnet_block"
|
||||
}
|
||||
},
|
||||
"redGarnet": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/redGarnet_block"
|
||||
}
|
||||
},
|
||||
"copper": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/copper_block"
|
||||
}
|
||||
},
|
||||
"tin": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/tin_block"
|
||||
}
|
||||
},
|
||||
"refinedIron": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/refinedIron_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,70 @@
|
|||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"textures": {},
|
||||
"transform": "forge:default-block",
|
||||
"model": "cube_all"
|
||||
},
|
||||
"variants": {
|
||||
"inventory": [
|
||||
{}
|
||||
],
|
||||
"type": {
|
||||
"tungstensteel": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/tungstensteel_block"
|
||||
}
|
||||
},
|
||||
"iridium_reinforced_tungstensteel": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/iridium_reinforced_tungstensteel_block"
|
||||
}
|
||||
},
|
||||
"iridium_reinforced_stone": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/iridium_reinforced_stone_block"
|
||||
}
|
||||
},
|
||||
"ruby": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/ruby_block"
|
||||
}
|
||||
},
|
||||
"sapphire": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/sapphire_block"
|
||||
}
|
||||
},
|
||||
"peridot": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/peridot_block"
|
||||
}
|
||||
},
|
||||
"yellowgarnet": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/yellowgarnet_block"
|
||||
}
|
||||
},
|
||||
"redgarnet": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/redgarnet_block"
|
||||
}
|
||||
},
|
||||
"copper": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/copper_block"
|
||||
}
|
||||
},
|
||||
"tin": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/tin_block"
|
||||
}
|
||||
},
|
||||
"refinediron": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/storage/refinediron_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue