Fix trapdoor, panel, bar, and pane item models

- Fix #5349
This commit is contained in:
PepperCode1 2024-09-01 14:54:09 -07:00
parent 088cc1a336
commit 849824189f
9 changed files with 35 additions and 53 deletions

View file

@ -1,6 +1,6 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"parent": "block/thin_block",
"textures": {
"1": "create:block/copycat_base",
"2": "create:block/copycat_base",

View file

@ -1,6 +1,6 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"parent": "block/thin_block",
"textures": {
"0": "create:block/glass_door_side",
"1": "create:block/palettes/framed_glass",

View file

@ -1,6 +1,5 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "create:block/glass_door_side",
"1": "create:block/palettes/framed_glass",

View file

@ -1,6 +1,5 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "create:block/glass_door_side",
"1": "create:block/palettes/framed_glass",

View file

@ -1,5 +1,5 @@
{
"parent": "block/block",
"parent": "block/thin_block",
"credit": "Made with Blockbench",
"textures": {
"0": "create:block/train_door_side",

View file

@ -1,6 +1,5 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "create:block/train_door_side",
"1": "create:block/train_trapdoor",

View file

@ -1,5 +1,4 @@
{
"parent": "block/block",
"credit": "Made with Blockbench",
"textures": {
"0": "create:block/train_door_side",

View file

@ -1,54 +1,44 @@
{
"credit": "Made with Blockbench",
"ambientocclusion": false,
"textures": {
"bars": "block/iron_bars",
"edge": "block/iron_bars_edge"
},
"elements": [
{
"from": [0, 0, 8],
"to": [16, 16, 8],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"from": [8, 0, 0],
"to": [8, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#bars"},
"south": {"uv": [16, 0, 0, 16], "texture": "#bars"}
"east": {"uv": [16, 0, 0, 16], "texture": "#bars"},
"west": {"uv": [0, 0, 16, 16], "texture": "#bars"}
}
},
{
"from": [15.95, 0, 7],
"to": [16, 16, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"from": [7, 0, 15.95],
"to": [9, 16, 16],
"faces": {
"east": {"uv": [7, 16, 9, 0], "rotation": 180, "texture": "#bars", "cullface": "east"},
"west": {"uv": [9, 16, 7, 0], "rotation": 180, "texture": "#bars", "cullface": "east"}
"north": {"uv": [9, 16, 7, 0], "texture": "#bars"},
"south": {"uv": [7, 16, 9, 0], "texture": "#bars"}
}
},
{
"from": [0, 0, 7],
"to": [0.05, 16, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"from": [7, 0, 0],
"to": [9, 16, 0.05],
"faces": {
"east": {"uv": [7, 16, 9, 0], "rotation": 180, "texture": "#bars", "cullface": "west"},
"west": {"uv": [9, 16, 7, 0], "rotation": 180, "texture": "#bars", "cullface": "west"}
"north": {"uv": [7, 16, 9, 0], "texture": "#bars"},
"south": {"uv": [9, 16, 7, 0], "texture": "#bars"}
}
},
{
"from": [0, 15.95, 7],
"to": [16, 16, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"from": [7, 15.95, 0],
"to": [9, 16, 16],
"faces": {
"up": {"uv": [9, 0, 7, 16], "rotation": 270, "texture": "#edge", "cullface": "up"},
"down": {"uv": [9, 0, 7, 16], "rotation": 90, "texture": "#edge", "cullface": "up"}
"up": {"uv": [7, 0, 9, 16], "rotation": 180, "texture": "#edge"},
"down": {"uv": [7, 16, 9, 0], "rotation": 180, "texture": "#edge"}
}
},
{
"from": [0, 0, 7],
"to": [16, 0.05, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"from": [7, 0, 0],
"to": [9, 0.05, 16],
"faces": {
"up": {"uv": [9, 0, 7, 16], "rotation": 270, "texture": "#edge", "cullface": "down"},
"down": {"uv": [9, 0, 7, 16], "rotation": 90, "texture": "#edge", "cullface": "down"}
"up": {"uv": [7, 16, 9, 0], "rotation": 180, "texture": "#edge"},
"down": {"uv": [7, 0, 9, 16], "rotation": 180, "texture": "#edge"}
}
}
],
@ -76,10 +66,11 @@
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 135, 0],
"rotation": [30, 45, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"rotation": [ 0, 270, 0 ],
"scale": [0.5, 0.5, 0.5]
}
}

View file

@ -1,22 +1,16 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "#edge",
"1": "#pane",
"particle": "#pane"
},
"elements": [
{
"from": [0, 0, 7],
"to": [16, 16, 9],
"from": [7, 0, 0],
"to": [9, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#1"},
"east": {"uv": [7, 0, 9, 16], "rotation": 180, "texture": "#0"},
"south": {"uv": [0, 0, 16, 16], "texture": "#1"},
"west": {"uv": [7, 0, 9, 16], "rotation": 180, "texture": "#0"},
"up": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#0"},
"down": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#0"}
"north": {"uv": [7, 0, 9, 16], "texture": "#edge"},
"east": {"uv": [16, 0, 0, 16], "texture": "#pane"},
"south": {"uv": [7, 0, 9, 16], "texture": "#edge"},
"west": {"uv": [0, 0, 16, 16], "texture": "#pane"},
"up": {"uv": [7, 0, 9, 16], "rotation": 180, "texture": "#edge"},
"down": {"uv": [7, 0, 9, 16], "rotation": 180, "texture": "#edge"}
}
}
],
@ -44,10 +38,11 @@
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 135, 0],
"rotation": [30, 45, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"rotation": [ 0, 270, 0 ],
"scale": [0.5, 0.5, 0.5]
}
}