From e729b92d20d6da3865b1e5a9391a1885f5011ca0 Mon Sep 17 00:00:00 2001 From: Paula Date: Sun, 25 Oct 2026 22:09:19 -0300 Subject: [PATCH] Keg model --- mods/bworld/blocks/keg.json | 30 ++++++++++++ mods/bworld/models/keg.json | 74 +++++++++++++++++++++++++++++ mods/bworld/textures/keg_back.png | Bin 0 -> 411 bytes mods/bworld/textures/keg_front.png | Bin 0 -> 438 bytes mods/bworld/textures/keg_side.png | Bin 0 -> 456 bytes 5 files changed, 104 insertions(+) create mode 100644 mods/bworld/blocks/keg.json create mode 100644 mods/bworld/models/keg.json create mode 100644 mods/bworld/textures/keg_back.png create mode 100644 mods/bworld/textures/keg_front.png create mode 100644 mods/bworld/textures/keg_side.png diff --git a/mods/bworld/blocks/keg.json b/mods/bworld/blocks/keg.json new file mode 100644 index 0000000..b6b1526 --- /dev/null +++ b/mods/bworld/blocks/keg.json @@ -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": { + } + } +} diff --git a/mods/bworld/models/keg.json b/mods/bworld/models/keg.json new file mode 100644 index 0000000..68778de --- /dev/null +++ b/mods/bworld/models/keg.json @@ -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 } + } + } + ] + } +} diff --git a/mods/bworld/textures/keg_back.png b/mods/bworld/textures/keg_back.png new file mode 100644 index 0000000000000000000000000000000000000000..50127c65e550cf78ec1ea1f7882c52beb4707e91 GIT binary patch literal 411 zcmV;M0c8G(P)5lR-|xP!NVc>hqaFp_`_-F@deeaI3e_tC)Ba&)`Yi zO5#RIH>I?bJW6p=iN4=-}yLA-W zPEcJ%yoqI6HZie5Cnwhu6NQ%d&lG^ZY#Zg9La)Vg)qEFPQ%^<%j1R^`0U!!312O!T zCz&QnJQQYgMQlLOc0N`NFpi`{Yt&T~>L|2MNdB=@KTeW5jM#v9C>?k2xR1u`kByRP$uy}+o6KBGzUM2(k&tP*)5Op1pSiw9+1>%v zhcQiRem~A3e7_TuYsu|R*q~=xlBAA(KiK5Dzaf!^<_D)`v_X;pHNgM?002ovPDHLk FV1g5kv=IOR literal 0 HcmV?d00001 diff --git a/mods/bworld/textures/keg_front.png b/mods/bworld/textures/keg_front.png new file mode 100644 index 0000000000000000000000000000000000000000..99c4d96d1b0384e15cd588c57d11511aed0e0917 GIT binary patch literal 438 zcmV;n0ZIOeP)r7O3(ck2uIaK3bv}Q*yAn zYc#UIiT_EKCeaw}R0RR6|YKR{I g000I_L_t&o0JZ!#X!Cv+EC2ui07*qoM6N<$f_XHyeEbM|n5_Xn*7lR0qCL1i0=1&3oRrS9O?*m9nN-~s)t zO5?n}9z)-x9>Hs6zA*<4^VnXZmz^Y}!uyIQhKf`kw?!$+Yy!X&L;G{5=}AO)W2A56 z_Yw$a_`=ma^*9T8=LD?k znKHPj0?)uyH$ezu1qg?aGddVNO}(!pVtu7(ecTizP~TJ%JKTvlzZ|)KU#hN1PMg;9 zcEudWzzzj!(WjjXuYsL|!AZnn!qd>9rfFNhmnTz*rYnQn@u$0BN0T;bD;%@wPogd8 y7;JOt8Vn{eXszKX+mY+|N}KB(5x)K^9R3e==c{>ZCveyR0000