Keg model

This commit is contained in:
2026-10-25 22:09:19 -03:00
parent f46058f9b5
commit e729b92d20
5 changed files with 104 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"format_version": 1,
"block": {
"id": "bworld:keg",
"name": "Keg",
"model": "bworld:keg",
"textures": {},
"item_model": "bworld:keg",
"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": 2
},
"drops": "bworld:keg",
"interactive": true,
"components": {
}
}
}
+74
View File
@@ -0,0 +1,74 @@
{
"format_version": 1,
"model": {
"id": "bworld:keg",
"textures": {
"1": "bworld:keg_side",
"2": "bworld:keg_front",
"3": "bworld:keg_back",
"particle": "bworld:keg_side"
},
"elements": [
{
"from": [13, 0, 13],
"to": [16, 2, 16],
"faces": {
"north": { "texture": "#3", "uv": [0, 0, 3, 2] },
"east": { "texture": "#3", "uv": [0, 0, 3, 2] },
"south": { "texture": "#3", "uv": [0, 0, 3, 2] },
"west": { "texture": "#3", "uv": [0, 0, 3, 2] },
"top": { "texture": "#1", "uv": [0, 0, 3, 3] },
"bottom": { "texture": "#3", "uv": [0, 0, 3, 3] }
}
},
{
"from": [0, 0, 13],
"to": [3, 2, 16],
"faces": {
"north": { "texture": "#3", "uv": [0, 0, 3, 2] },
"east": { "texture": "#3", "uv": [0, 0, 3, 2] },
"south": { "texture": "#3", "uv": [0, 0, 3, 2] },
"west": { "texture": "#3", "uv": [0, 0, 3, 2] },
"top": { "texture": "#1", "uv": [0, 0, 3, 3] },
"bottom": { "texture": "#3", "uv": [0, 0, 3, 3] }
}
},
{
"from": [0, 0, 0],
"to": [3, 2, 3],
"faces": {
"north": { "texture": "#3", "uv": [0, 0, 3, 2] },
"east": { "texture": "#3", "uv": [0, 0, 3, 2] },
"south": { "texture": "#3", "uv": [0, 0, 3, 2] },
"west": { "texture": "#3", "uv": [0, 0, 3, 2] },
"top": { "texture": "#1", "uv": [0, 0, 3, 3] },
"bottom": { "texture": "#3", "uv": [0, 0, 3, 3] }
}
},
{
"from": [13, 0, 0],
"to": [16, 2, 3],
"faces": {
"north": { "texture": "#3", "uv": [0, 0, 3, 2] },
"east": { "texture": "#3", "uv": [0, 0, 3, 2] },
"south": { "texture": "#3", "uv": [0, 0, 3, 2] },
"west": { "texture": "#3", "uv": [0, 0, 3, 2] },
"top": { "texture": "#1", "uv": [0, 0, 3, 3] },
"bottom": { "texture": "#3", "uv": [0, 0, 3, 3] }
}
},
{
"from": [0, 2, 0],
"to": [16, 16, 16],
"faces": {
"north": { "texture": "#2", "uv": [0, 2, 16, 16] },
"east": { "texture": "#1", "uv": [0, 2, 16, 16] },
"south": { "texture": "#3", "uv": [0, 2, 16, 16] },
"west": { "texture": "#1", "uv": [0, 2, 16, 16] },
"top": { "texture": "#1", "uv": [0, 0, 16, 16], "rotation": 90 },
"bottom": { "texture": "#1", "uv": [0, 0, 16, 16], "rotation": 90 }
}
}
]
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B