proper hat rendering

This commit is contained in:
2025-03-28 03:32:19 +01:00
parent b482670b0f
commit 9174c83a33
7 changed files with 142 additions and 22 deletions
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "saturnclient:item/hat"
}
}
@@ -0,0 +1,42 @@
{
"credit": "Made with Blockbench",
"texture_size": [32, 32],
"textures": {
"0": "saturnclient:item/hat",
"particle": "saturnclient:item/hat"
},
"elements": [
{
"from": [3, 0, 3],
"to": [13, 1, 13],
"rotation": {"angle": 0, "axis": "x", "origin": [4, 0, 4]},
"faces": {
"north": {"uv": [8, 0, 16, 1], "texture": "#0"},
"east": {"uv": [8, 1, 16, 2], "texture": "#0"},
"south": {"uv": [8, 2, 16, 3], "texture": "#0"},
"west": {"uv": [8, 3, 16, 4], "texture": "#0"},
"up": {"uv": [8, 8, 0, 0], "texture": "#0"},
"down": {"uv": [8, 8, 0, 16], "texture": "#0"}
}
},
{
"from": [4, 1, 4],
"to": [12, 8, 12],
"rotation": {"angle": 0, "axis": "x", "origin": [4, 1, 4]},
"faces": {
"north": {"uv": [8, 0, 16, 1], "texture": "#0"},
"east": {"uv": [8, 1, 16, 2], "texture": "#0"},
"south": {"uv": [8, 2, 16, 3], "texture": "#0"},
"west": {"uv": [8, 3, 16, 4], "texture": "#0"},
"up": {"uv": [8, 8, 0, 0], "texture": "#0"},
"down": {"uv": [8, 8, 0, 16], "texture": "#0"}
}
}
],
"display": {
"head": {
"translation": [0, 18.25, 0],
"scale": [1.5, 1.5, 1.5]
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B