Fixed cables rendering

This commit is contained in:
drcrazy 2018-09-22 16:50:33 +03:00
parent 7a005f7494
commit f02b24f813
6 changed files with 112 additions and 108 deletions

View file

@ -62,7 +62,7 @@
"false": {
}
},
"type": {
"ztype": {
"insulated_copper": {
"textures": {
"cable": "techreborn:blocks/cables/copper_insulated_cable"

View file

@ -1,94 +1,99 @@
{
"forge_marker": 1,
"defaults": {
"transform": "forge:default-block",
"model": "techreborn:cable_thin",
"textures": {
"particle": "#cable"
}
},
"variants": {
"inventory": [{} ],
"down": {
"true": {
"submodel": {
"pipeDown": {
"model": "techreborn:cable_connection_alt_thin",
"x": 270
}
}
},
"false": {
}
},
"east": {
"true": {
"submodel": "techreborn:cable_connection_thin",
"y": 90
},
"false": {
}
},
"north": {
"true": {
"submodel": "techreborn:cable_connection_thin"
},
"false": {
}
},
"south": {
"true": {
"submodel": "techreborn:cable_connection_alt_thin"
},
"false": {
}
},
"up": {
"true": {
"submodel": {
"pipeUp": {
"model": "techreborn:cable_connection_thin",
"x": 270
}
}
},
"false": {
}
},
"west": {
"true": {
"submodel": "techreborn:cable_connection_alt_thin",
"y": 90
},
"false": {
}
},
"type": {
"copper": {
"textures": {
"cable": "techreborn:blocks/cables/copper_cable"
}
},
"tin": {
"textures": {
"cable": "techreborn:blocks/cables/tin_cable"
}
},
"gold": {
"textures": {
"cable": "techreborn:blocks/cables/gold_cable"
}
},
"hv": {
"textures": {
"cable": "techreborn:blocks/cables/hv_cable"
}
},
"glassfiber": {
"textures": {
"cable": "techreborn:blocks/cables/glass_fiber_cable"
}
}
}
}
"forge_marker": 1,
"defaults": {
"transform": "forge:default-block",
"model": "techreborn:cable_thin",
"textures": {
"particle": "#cable"
}
},
"variants": {
"down": {
"true": {
"submodel": {
"pipeDown": {
"model": "techreborn:cable_connection_alt_thin",
"x": 270
}
}
},
"false": {
}
},
"east": {
"true": {
"submodel": "techreborn:cable_connection_thin",
"y": 90
},
"false": {
}
},
"north": {
"true": {
"submodel": "techreborn:cable_connection_thin"
},
"false": {
}
},
"south": {
"true": {
"submodel": "techreborn:cable_connection_alt_thin"
},
"false": {
}
},
"up": {
"true": {
"submodel": {
"pipeUp": {
"model": "techreborn:cable_connection_thin",
"x": 270
}
}
},
"false": {
}
},
"west": {
"true": {
"submodel": "techreborn:cable_connection_alt_thin",
"y": 90
},
"false": {
}
},
"ztype": {
"copper": {
"textures": {
"cable": "techreborn:blocks/cables/copper_cable"
}
},
"tin": {
"textures": {
"cable": "techreborn:blocks/cables/tin_cable"
}
},
"gold": {
"textures": {
"cable": "techreborn:blocks/cables/gold_cable"
}
},
"hv": {
"textures": {
"cable": "techreborn:blocks/cables/hv_cable"
}
},
"glassfiber": {
"textures": {
"cable": "techreborn:blocks/cables/glass_fiber_cable"
}
}
}
}
}