Fix fence rendering

This commit is contained in:
modmuss50 2016-03-15 07:50:12 +00:00
parent 54c7827bb2
commit 5b183ac231
8 changed files with 17 additions and 69 deletions

View file

@ -1,20 +1,17 @@
{
"variants": {
"east=false,north=false,south=false,west=false": { "model": "techreborn:iron_fence_post" },
"east=false,north=true,south=false,west=false": { "model": "techreborn:iron_fence_n", "uvlock": true },
"east=true,north=false,south=false,west=false": { "model": "techreborn:iron_fence_n", "y": 90, "uvlock": true },
"east=false,north=false,south=true,west=false": { "model": "techreborn:iron_fence_n", "y": 180, "uvlock": true },
"east=false,north=false,south=false,west=true": { "model": "techreborn:iron_fence_n", "y": 270, "uvlock": true },
"east=true,north=true,south=false,west=false": { "model": "techreborn:iron_fence_ne", "uvlock": true },
"east=true,north=false,south=true,west=false": { "model": "techreborn:iron_fence_ne", "y": 90, "uvlock": true },
"east=false,north=false,south=true,west=true": { "model": "techreborn:iron_fence_ne", "y": 180, "uvlock": true },
"east=false,north=true,south=false,west=true": { "model": "techreborn:iron_fence_ne", "y": 270, "uvlock": true },
"east=false,north=true,south=true,west=false": { "model": "techreborn:iron_fence_ns", "uvlock": true },
"east=true,north=false,south=false,west=true": { "model": "techreborn:iron_fence_ns", "y": 90, "uvlock": true },
"east=true,north=true,south=true,west=false": { "model": "techreborn:iron_fence_nse", "uvlock": true },
"east=true,north=false,south=true,west=true": { "model": "techreborn:iron_fence_nse", "y": 90, "uvlock": true },
"east=false,north=true,south=true,west=true": { "model": "techreborn:iron_fence_nse", "y": 180, "uvlock": true },
"east=true,north=true,south=false,west=true": { "model": "techreborn:iron_fence_nse", "y": 270, "uvlock": true },
"east=true,north=true,south=true,west=true": { "model": "techreborn:iron_fence_nsew", "uvlock": true }
}
"multipart": [
{ "apply": { "model": "techreborn:iron_fence_post" }},
{ "when": { "north": "true" },
"apply": { "model": "techreborn:iron_fence_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "techreborn:iron_fence_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "techreborn:iron_fence_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "techreborn:iron_fence_side", "y": 270, "uvlock": true }
}
]
}

View file

@ -1,6 +0,0 @@
{
"parent": "block/fence_ne",
"textures": {
"texture": "blocks/iron_block"
}
}

View file

@ -1,6 +0,0 @@
{
"parent": "block/fence_ns",
"textures": {
"texture": "blocks/iron_block"
}
}

View file

@ -1,6 +0,0 @@
{
"parent": "block/fence_nse",
"textures": {
"texture": "blocks/iron_block"
}
}

View file

@ -1,6 +0,0 @@
{
"parent": "block/fence_nsew",
"textures": {
"texture": "blocks/iron_block"
}
}

View file

@ -1,5 +1,5 @@
{
"parent": "block/fence_n",
"parent": "block/fence_side",
"textures": {
"texture": "blocks/iron_block"
}

View file

@ -1,13 +1,3 @@
{
"parent": "techreborn:block/iron_fence_inventory",
"display": {
"thirdperson": {
"rotation": [ 0, 0, 180 ],
"translation": [ 0, 1.5, -2.75 ],
"scale": [ 0.375, 0.375, 0.375 ]
},
"gui": {
"rotation": [ 0, 90, 0 ]
}
}
"parent": "techreborn:block/iron_fence_inventory"
}

View file

@ -1,15 +0,0 @@
{
"parent": "techreborn:block/iron_fence_gate_closed",
"display": {
"thirdperson": {
"rotation": [ 0, -90, 170 ],
"translation": [ 0, 1.5, -2.75 ],
"scale": [ 0.375, 0.375, 0.375 ]
},
"firstperson": {
"rotation": [ 0, 90, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
}
}
}