feat: allow overriding top and bottom model textures

- Used for Snowy Northland leaves (Eternal Starlight) and Frosted Leaves (Chipped)
This commit is contained in:
Martin Prokoph
2025-07-17 16:07:31 +02:00
parent 833e703f50
commit 819e402eac
58 changed files with 193 additions and 150 deletions

View File

@@ -4,6 +4,8 @@
"parent": "block/block",
"texture_size": [32, 32],
"textures": {
"top": "#all",
"bottom": "#all",
"particle": "#all"
},
"elements": [
@@ -15,8 +17,8 @@
"east": {"uv": [4, 4, 12, 12], "texture": "#all", "cullface": "east", "tintindex": 0},
"south": {"uv": [4, 4, 12, 12], "texture": "#all", "cullface": "south", "tintindex": 0},
"west": {"uv": [4, 4, 12, 12], "texture": "#all", "cullface": "west", "tintindex": 0},
"up": {"uv": [4, 4, 12, 12], "texture": "#all", "cullface": "up", "tintindex": 0},
"down": {"uv": [4, 4, 12, 12], "texture": "#all", "cullface": "down", "tintindex": 0}
"up": {"uv": [4, 4, 12, 12], "texture": "#top", "cullface": "up", "tintindex": 0},
"down": {"uv": [4, 4, 12, 12], "texture": "#bottom", "cullface": "down", "tintindex": 0}
}
},
{
@@ -38,4 +40,4 @@
}
}
]
}
}