Chest model

This commit is contained in:
2026-10-12 00:46:39 -03:00
parent e1f3fda692
commit 365819ef7f
3 changed files with 57 additions and 1 deletions
+16 -1
View File
@@ -2,7 +2,22 @@
"format_version": 1,
"block": {
"id": "bworld:chest",
"textures": "bworld:oak_planks",
"textures": { "chest": "bworld:chest" },
"model": "bworld:chest",
"item_model": "bworld:chest",
"render_layer": "cutout",
"states": [
{
"name": "facing",
"bits": 2,
"default": 0
}
],
"variants": {
"facing=1": { "y": 90 },
"facing=2": { "y": 180 },
"facing=3": { "y": 270 }
},
"mining": {
"toughness": 8,
"tool": "axe"
+41
View File
@@ -0,0 +1,41 @@
{
"format_version": 1,
"model": {
"id": "bworld:chest",
"elements": [
{
"from": [1, 0, 1],
"to": [15, 9, 15],
"faces": {
"bottom": { "texture": "#chest", "uv": [10.5, 4.75, 7, 8.25], "cullface": "bottom" },
"north": { "texture": "#chest", "uv": [3.5, 8.5, 7, 10.75] },
"south": { "texture": "#chest", "uv": [10.5, 8.5, 14, 10.75] },
"west": { "texture": "#chest", "uv": [7, 8.5, 10.5, 10.75] },
"east": { "texture": "#chest", "uv": [0, 8.5, 3.5, 10.75] }
}
},
{
"from": [1, 9, 1],
"to": [15, 14, 15],
"faces": {
"top": { "texture": "#chest", "uv": [7, 3.5, 3.5, 0] },
"north": { "texture": "#chest", "uv": [3.5, 3.5, 7, 4.75] },
"south": { "texture": "#chest", "uv": [10.5, 3.5, 14, 4.75] },
"west": { "texture": "#chest", "uv": [7, 3.5, 10.5, 4.75] },
"east": { "texture": "#chest", "uv": [0, 3.5, 3.5, 4.75] }
}
},
{
"from": [7, 7, 0],
"to": [9, 11, 1],
"faces": {
"top": { "texture": "#chest", "uv": [0.75, 0.25, 0.25, 0] },
"bottom": { "texture": "#chest", "uv": [1.25, 0, 0.75, 0.25] },
"north": { "texture": "#chest", "uv": [0.25, 0.25, 0.75, 1.25] },
"west": { "texture": "#chest", "uv": [0.75, 0.25, 1, 1.25] },
"east": { "texture": "#chest", "uv": [0, 0.25, 0.25, 1.25] }
}
}
]
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B