fix sticky piston heads

This commit is contained in:
David Allemang
2026-07-04 11:10:12 -04:00
parent 7b0c4e4554
commit f41eb12e39
7 changed files with 28 additions and 49 deletions

View File

@@ -3,6 +3,7 @@
"textures": {
"platform": "minecraft:block/piston_top",
"side": "minecraft:block/piston_side",
"unsticky": "minecraft:block/piston_top"
"unsticky": "minecraft:block/piston_top",
"unsticky_side": "minecraft:block/piston_side"
}
}

View File

@@ -3,6 +3,7 @@
"textures": {
"platform": "minecraft:block/piston_top",
"side": "minecraft:block/piston_side",
"unsticky": "minecraft:block/piston_top"
"unsticky": "minecraft:block/piston_top",
"unsticky_side": "minecraft:block/piston_side"
}
}

View File

@@ -3,6 +3,7 @@
"textures": {
"platform": "minecraft:block/piston_top_sticky",
"side": "minecraft:block/piston_side_sticky",
"unsticky": "minecraft:block/piston_top"
"unsticky": "minecraft:block/piston_top",
"unsticky_side": "minecraft:block/piston_side"
}
}

View File

@@ -1,34 +1,9 @@
{
"credit": "Created by Stridey",
"textures": {
"3": "block/piston_side_sticky",
"4": "block/piston_bottom_sticky",
"particle": "block/piston_top_sticky",
"platform": "block/piston_top_sticky",
"side": "block/piston_side"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 4],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#platform", "cullface": "north"},
"east": {"uv": [0, 0, 16, 4], "rotation": 90, "texture": "#3", "cullface": "east"},
"south": {"uv": [0, 0, 16, 16], "texture": "#4"},
"west": {"uv": [0, 0, 16, 4], "rotation": 270, "texture": "#3", "cullface": "west"},
"up": {"uv": [0, 0, 16, 4], "texture": "#3", "cullface": "up"},
"down": {"uv": [0, 0, 16, 4], "rotation": 180, "texture": "#3", "cullface": "down"}
}
},
{
"from": [6, 6, 4],
"to": [10, 10, 20],
"faces": {
"east": {"uv": [0, 0, 16, 4], "texture": "#side"},
"west": {"uv": [16, 4, 0, 0], "texture": "#side"},
"up": {"uv": [0, 0, 16, 4], "rotation": 270, "texture": "#side"},
"down": {"uv": [0, 0, 16, 4], "rotation": 90, "texture": "#side"}
}
}
]
"parent": "minecraft:block/template_piston_head",
"textures": {
"platform": "minecraft:block/piston_top_sticky",
"side": "minecraft:block/piston_side_sticky",
"unsticky": "minecraft:block/piston_top",
"unsticky_side": "minecraft:block/piston_side"
}
}

View File

@@ -17,10 +17,10 @@
{ "from": [ 6, 6, 4 ],
"to": [ 10, 10, 20 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 4 ], "texture": "#side", "rotation": 90 },
"up": { "uv": [ 0, 0, 16, 4 ], "texture": "#side", "rotation": 270 },
"west": { "uv": [ 16, 4, 0, 0 ], "texture": "#side" },
"east": { "uv": [ 0, 0, 16, 4 ], "texture": "#side" }
"down": { "uv": [ 0, 0, 16, 4 ], "texture": "#unsticky_side", "rotation": 90 },
"up": { "uv": [ 0, 0, 16, 4 ], "texture": "#unsticky_side", "rotation": 270 },
"west": { "uv": [ 16, 4, 0, 0 ], "texture": "#unsticky_side" },
"east": { "uv": [ 0, 0, 16, 4 ], "texture": "#unsticky_side" }
}
}
]

View File

@@ -17,10 +17,10 @@
{ "from": [ 6, 6, 4 ],
"to": [ 10, 10, 16 ],
"faces": {
"down": { "uv": [ 4, 0, 16, 4 ], "texture": "#side", "rotation": 90 },
"up": { "uv": [ 4, 0, 16, 4 ], "texture": "#side", "rotation": 270 },
"west": { "uv": [ 16, 4, 4, 0 ], "texture": "#side" },
"east": { "uv": [ 4, 0, 16, 4 ], "texture": "#side" }
"down": { "uv": [ 4, 0, 16, 4 ], "texture": "#unsticky_side", "rotation": 90 },
"up": { "uv": [ 4, 0, 16, 4 ], "texture": "#unsticky_side", "rotation": 270 },
"west": { "uv": [ 16, 4, 4, 0 ], "texture": "#unsticky_side" },
"east": { "uv": [ 4, 0, 16, 4 ], "texture": "#unsticky_side" }
}
}
]