From 365819ef7f0015dcc9d4bb229c39fadeab4ba6ca Mon Sep 17 00:00:00 2001 From: Paula Date: Mon, 12 Oct 2026 00:46:39 -0300 Subject: [PATCH] Chest model --- mods/bworld/blocks/chest.json | 17 +++++++++++++- mods/bworld/models/chest.json | 41 +++++++++++++++++++++++++++++++++ mods/bworld/textures/chest.png | Bin 0 -> 672 bytes 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 mods/bworld/models/chest.json create mode 100644 mods/bworld/textures/chest.png diff --git a/mods/bworld/blocks/chest.json b/mods/bworld/blocks/chest.json index 4747066..223e126 100644 --- a/mods/bworld/blocks/chest.json +++ b/mods/bworld/blocks/chest.json @@ -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" diff --git a/mods/bworld/models/chest.json b/mods/bworld/models/chest.json new file mode 100644 index 0000000..6ce49cf --- /dev/null +++ b/mods/bworld/models/chest.json @@ -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] } + } + } + ] + } +} diff --git a/mods/bworld/textures/chest.png b/mods/bworld/textures/chest.png new file mode 100644 index 0000000000000000000000000000000000000000..9974f60d5733ae946cab3be3f6e805b284eaa235 GIT binary patch literal 672 zcmV;R0$=@!P)V(mShahl zyB6cknAx=0+=DY)DKhJhax=Rkk;GjYhB0}Do_lX_lpfo4Va~#z!~Hlp{^u_}vLBbQ z%mxEKu-q17p36!*RXMIJpeaN;u-dcBbvFCH2iOX*n<7fbcKcVgT79zzJS`uq3B5ee zhgSE5VND6ZZup!HYz-_+f0ol10)|d-5U~4cx(aO#+|Uye5f&3}DWC`IJaoDT0lS9} z!(vJ56J`T_K%@S$BtR6}r!l?35}$+l?yK>7Y;8M~v7W$uV0^@nnqQokgW9%38R!Y7 zBg?8(-a60f^=*g0_4@9vE(7463mj)~M*Pk8><+Uwy~r_nX-oksYtxB9$CEh$oK|H` zgA|h|4g*WM30{K$f~vgZ%}6W~h*kt}rhr=o01&_j4NR^vdE|ty2F`O#UKSq&mUwgN zHsyl`M$!k`sGlb?YZHOVqm8=EvYE6RlP9PN%vD(fS^LNO=ef&I48wR{Msc(l_o73~ z{e=gt#XmVOq!gW!BDBHgM>OvwpN&^iicU!ZTx^!ns*^DICZ*_<=v1#UzyK&hOL8w7 z$N}PfL5c>VU=?4_Nzs7ltZ*Mvw1vC{-g{0;>7gF#f2`kKHSTUg!DUSV0000