Fix cable models

This commit is contained in:
Prospector 2017-06-12 10:25:29 -07:00
parent e0c39a4777
commit 11527b3a22
12 changed files with 219 additions and 235 deletions

View file

@ -1,174 +0,0 @@
{
"forge_marker": 1,
"defaults": {
"transform": "forge:default-block",
"model": "techreborn:cable_thin",
"textures": {
"cable": "techreborn:block/blocks/cables/copper_cable",
"particle": "techreborn:block/blocks/cables/copper_cable"
}
},
"variants": {
"inventory": [
{
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/copper_cable"
}
}
],
"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"
}
},
"insulatedcopper": {
"textures": {
"cable": "techreborn:blocks/cables/copper_insulated_cable"
}
},
"insulatedgold": {
"textures": {
"cable": "techreborn:blocks/cables/gold_insulated_cable"
}
},
"insulatedhv": {
"textures": {
"cable": "techreborn:blocks/cables/hv_insulated_cable"
}
},
"inv_copper": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/copper_cable"
}
},
"inv_tin": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/tin_cable"
}
},
"inv_gold": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/gold_cable"
}
},
"inv_hv": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/hv_cable"
}
},
"inv_glassfiber": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/glass_fiber_cable"
}
},
"inv_insulatedcopper": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/copper_insulated_cable"
}
},
"inv_insulatedgold": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/gold_insulated_cable"
}
},
"inv_insulatedhv": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/hv_insulated_cable"
}
}
}
}
}

View file

@ -1,17 +1,51 @@
{
"forge_marker": 1,
"defaults": {
"transform": "forge:default-block",
"transform": "forge:default-item",
"model": "techreborn:item"
},
"variants": {
"copper": [
{
"transform": "forge:default-item",
"type": {
"copper": {
"textures": {
"texture": "techreborn:items/cables/copper"
}
},
"tin": {
"textures": {
"texture": "techreborn:items/cables/tin"
}
},
"gold": {
"textures": {
"texture": "techreborn:items/cables/gold"
}
},
"hv": {
"textures": {
"texture": "techreborn:items/cables/hv"
}
},
"glassfiber": {
"textures": {
"texture": "techreborn:items/cables/glassfiber"
}
},
"insulatedcopper": {
"textures": {
"texture": "techreborn:items/cables/insulatedcopper"
}
},
"insulatedgold": {
"textures": {
"texture": "techreborn:items/cables/insulatedgold"
}
},
"insulatedhv": {
"textures": {
"texture": "techreborn:items/cables/insulatedhv"
}
}
]
}
}
}

View file

@ -0,0 +1,83 @@
{
"forge_marker": 1,
"defaults": {
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"particle": "#cable"
}
},
"variants": {
"down": {
"true": {
"submodel": {
"pipeDown": {
"model": "techreborn:cable_connection_alt",
"x": 270
}
}
},
"false": {
}
},
"east": {
"true": {
"submodel": "techreborn:cable_connection",
"y": 90
},
"false": {
}
},
"north": {
"true": {
"submodel": "techreborn:cable_connection"
},
"false": {
}
},
"south": {
"true": {
"submodel": "techreborn:cable_connection_alt"
},
"false": {
}
},
"up": {
"true": {
"submodel": {
"pipeUp": {
"model": "techreborn:cable_connection",
"x": 270
}
}
},
"false": {
}
},
"west": {
"true": {
"submodel": "techreborn:cable_connection_alt",
"y": 90
},
"false": {
}
},
"type": {
"insulatedcopper": {
"textures": {
"cable": "techreborn:blocks/cables/copper_insulated_cable"
}
},
"insulatedgold": {
"textures": {
"cable": "techreborn:blocks/cables/gold_insulated_cable"
}
},
"insulatedhv": {
"textures": {
"cable": "techreborn:blocks/cables/hv_insulated_cable"
}
}
}
}
}

View file

@ -4,11 +4,19 @@
"transform": "forge:default-block",
"model": "techreborn:cable_thin",
"textures": {
"cable": "techreborn:block/cable",
"particle": "#cable"
}
},
"variants": {
"inventory": [
{
"transform": "forge:default-block",
"model": "techreborn:cable",
"textures": {
"cable": "techreborn:blocks/cables/copper_cable"
}
}
],
"down": {
"true": {
"submodel": {
@ -88,21 +96,6 @@
"textures": {
"cable": "techreborn:blocks/cables/glass_fiber_cable"
}
},
"insulatedcopper": {
"textures": {
"cable": "techreborn:blocks/cables/copper_insulated_cable"
}
},
"insulatedgold": {
"textures": {
"cable": "techreborn:blocks/cables/gold_insulated_cable"
}
},
"insulatedhv": {
"textures": {
"cable": "techreborn:blocks/cables/hv_insulated_cable"
}
}
}
}

View file

@ -293,14 +293,14 @@ item.techreborn.dust.diorite.name=Diorite Dust
item.techreborn.dust.granite.name=Granite Dust
item.techreborn.wrench.name=Wrench
item.techreborn.cable.COPPER.name=Copper Cable
item.techreborn.cable.TIN.name=Tin Cable
item.techreborn.cable.GOLD.name=Gold Cable
item.techreborn.cable.HV.name=HV Cable
item.techreborn.cable.GLASSFIBER.name=Glass Fiber Cable
item.techreborn.cable.ICOPPER.name=Insulated Copper Cable
item.techreborn.cable.IGOLD.name=Insulated Gold Cable
item.techreborn.cable.IHV.name=Insulated HV Cable
tile.techreborn.cable.copper.name=Copper Cable
tile.techreborn.cable.tin.name=Tin Cable
tile.techreborn.cable.gold.name=Gold Cable
tile.techreborn.cable.hv.name=HV Cable
tile.techreborn.cable.glassfiber.name=Glass Fiber Cable
tile.techreborn.cable.insulatedcopper.name=Insulated Copper Cable
tile.techreborn.cable.insulatedgold.name=Insulated Gold Cable
tile.techreborn.cable.insulatedhv.name=Insulated HV Cable
item.techreborn.scrapbox.name=Scrap Box
item.techreborn.part.carbon_mesh.name=Carbon Mesh
item.techreborn.part.carbon_fiber.name=Carbon Fiber

View file

@ -1,20 +1,21 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11",
"textures": {"0": "textures/#cable"},
"elements": [
{
"name": "Cable",
"from": [6, 6, 6],
"to": [10, 10, 10],
"shade": true,
"faces": {
"north": {"uv": [1, 1, 5, 5], "texture": "#0"},
"east": {"uv": [1, 1, 5, 5], "texture": "#0"},
"south": {"uv": [1, 1, 5, 5], "texture": "#0"},
"west": {"uv": [1, 1, 5, 5], "texture": "#0"},
"up": {"uv": [1, 1, 5, 5], "texture": "#0"},
"down": {"uv": [1, 1, 5, 5], "texture": "#0"}
}
}
]
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"textures": {
"0": "#cable"
},
"elements": [
{
"name": "Cable",
"from": [ 5.0, 5.0, 5.0 ],
"to": [ 11.0, 11.0, 11.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] }
}
}
]
}

View file

@ -9,9 +9,9 @@
"from": [ 5.0, 5.0, 0.0 ],
"to": [ 11.0, 11.0, 5.0 ],
"faces": {
"north": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 6.0 ], "cullface": "north" },
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ], "cullface": "north" },
"east": { "texture": "#0", "uv": [ 0.0, 6.0, 5.0, 12.0 ] },
"south": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 6.0 ], "cullface": "south" },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ], "cullface": "south" },
"west": { "texture": "#0", "uv": [ 0.0, 6.0, 5.0, 12.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 6.0, 5.0, 12.0 ], "rotation": 90 },
"down": { "texture": "#0", "uv": [ 0.0, 6.0, 5.0, 12.0 ], "rotation": 90 }

View file

@ -18,7 +18,7 @@
],
"faces": {
"north": {
"texture": "#-1",
"texture": "#0",
"uv": [
0.0,
0.0,
@ -37,7 +37,7 @@
]
},
"south": {
"texture": "#-1",
"texture": "#0",
"uv": [
0.0,
0.0,

View file

@ -10,13 +10,13 @@
"faces": {
"north": {
"uv": [1, 1, 5, 5],
"texture": "#-1",
"texture": "#0",
"cullface": "north"
},
"east": {"uv": [1, 7, 7, 11], "texture": "#0"},
"south": {
"uv": [1, 1, 5, 5],
"texture": "#-1",
"texture": "#0",
"cullface": "south"
},
"west": {"uv": [1, 7, 7, 11], "texture": "#0"},

View file

@ -10,13 +10,13 @@
"faces": {
"north": {
"uv": [1, 1, 5, 5],
"texture": "#-1",
"texture": "#0",
"cullface": "north"
},
"east": {"uv": [0, 7, 6, 11], "texture": "#0"},
"south": {
"uv": [1, 1, 5, 5],
"texture": "#-1",
"texture": "#0",
"cullface": "south"
},
"west": {"uv": [0, 7, 6, 11], "texture": "#0"},