Add iron fence and fence gate
Cannot for the life of my figure out why the iron fence gate block won't render correctly. The blockstate isn't being called. Hopefully I can figure out in the morning
This commit is contained in:
parent
502fae9518
commit
90932acab9
23 changed files with 316 additions and 8 deletions
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=south,in_wall=false,open=false": { "model": "oak_fence_gate_closed" },
|
||||
"facing=west,in_wall=false,open=false": { "model": "oak_fence_gate_closed", "y": 90, "uvlock": true },
|
||||
"facing=north,in_wall=false,open=false": { "model": "oak_fence_gate_closed", "y": 180, "uvlock": true },
|
||||
"facing=east,in_wall=false,open=false": { "model": "oak_fence_gate_closed", "y": 270, "uvlock": true },
|
||||
"facing=south,in_wall=false,open=true": { "model": "oak_fence_gate_open" },
|
||||
"facing=west,in_wall=false,open=true": { "model": "oak_fence_gate_open", "y": 90, "uvlock": true },
|
||||
"facing=north,in_wall=false,open=true": { "model": "oak_fence_gate_open", "y": 180, "uvlock": true },
|
||||
"facing=east,in_wall=false,open=true": { "model": "oak_fence_gate_open", "y": 270, "uvlock": true },
|
||||
"facing=south,in_wall=true,open=false": { "model": "oak_wall_gate_closed" },
|
||||
"facing=west,in_wall=true,open=false": { "model": "oak_wall_gate_closed", "y": 90, "uvlock": true },
|
||||
"facing=north,in_wall=true,open=false": { "model": "oak_wall_gate_closed", "y": 180, "uvlock": true },
|
||||
"facing=east,in_wall=true,open=false": { "model": "oak_wall_gate_closed", "y": 270, "uvlock": true },
|
||||
"facing=south,in_wall=true,open=true": { "model": "oak_wall_gate_open" },
|
||||
"facing=west,in_wall=true,open=true": { "model": "oak_wall_gate_open", "y": 90, "uvlock": true },
|
||||
"facing=north,in_wall=true,open=true": { "model": "oak_wall_gate_open", "y": 180, "uvlock": true },
|
||||
"facing=east,in_wall=true,open=true": { "model": "oak_wall_gate_open", "y": 270, "uvlock": true }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"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 }
|
||||
}
|
||||
}
|
|
@ -67,6 +67,9 @@ tile.techreborn.rubberplank.name=Rubber Wood Planks
|
|||
tile.techreborn.rubberleaves.name=Rubber Leaves
|
||||
tile.techreborn.rubbersapling.name=Rubber Sapling
|
||||
|
||||
tile.techreborn.ironfence.name=Iron Fence
|
||||
tile.techreborn.ironfencegate.name=Iron Fence Gate
|
||||
|
||||
#Ores
|
||||
tile.techreborn.ore.Galena.name=Galena Ore
|
||||
tile.techreborn.ore.Iridium.name=Iridium Ore
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_gate_closed",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_gate_open",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_inventory",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_n",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_ne",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_ns",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_nse",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_nsew",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_post",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/wall_gate_closed",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/wall_gate_open",
|
||||
"textures": {
|
||||
"texture": "blocks/iron_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"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 ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"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 ]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue