From 20c5e97599776d59a6c85b57ee2eca12cee60cd7 Mon Sep 17 00:00:00 2001 From: Paula Date: Sat, 10 Oct 2026 19:24:14 -0300 Subject: [PATCH] Cactus block --- mods/bworld/blocks/cactus.json | 21 ++++++ mods/bworld/models/cactus.json | 94 +++++++++++++++++++++++++ mods/bworld/textures/cactus_bottom.png | Bin 0 -> 226 bytes mods/bworld/textures/cactus_side.png | Bin 0 -> 242 bytes mods/bworld/textures/cactus_top.png | Bin 0 -> 240 bytes 5 files changed, 115 insertions(+) create mode 100644 mods/bworld/blocks/cactus.json create mode 100644 mods/bworld/models/cactus.json create mode 100644 mods/bworld/textures/cactus_bottom.png create mode 100644 mods/bworld/textures/cactus_side.png create mode 100644 mods/bworld/textures/cactus_top.png diff --git a/mods/bworld/blocks/cactus.json b/mods/bworld/blocks/cactus.json new file mode 100644 index 0000000..4f880d4 --- /dev/null +++ b/mods/bworld/blocks/cactus.json @@ -0,0 +1,21 @@ +{ + "format_version": 1, + "block": { + "id": "bworld:cactus", + "name": "Cactus", + "textures": { + "top": "bworld:cactus_top", + "bottom": "bworld:cactus_bottom", + "side": "bworld:cactus_side" + }, + "model": "bworld:cactus", + "item_model": "bworld:cactus", + "render_layer": "cutout", + "shape": [[1, 0, 1, 15, 16, 15]], + "mining": { + "toughness": 0.6 + }, + "drops": "bworld:cactus", + "place_on": ["bworld:sand", "bworld:cactus"] + } +} diff --git a/mods/bworld/models/cactus.json b/mods/bworld/models/cactus.json new file mode 100644 index 0000000..68bee81 --- /dev/null +++ b/mods/bworld/models/cactus.json @@ -0,0 +1,94 @@ +{ + "format_version": 1, + "model": { + "id": "bworld:cactus", + "elements": [ + { + "from": [ + 1, + 0, + 1 + ], + "to": [ + 15, + 16, + 15 + ], + "faces": { + "top": { + "texture": "#top", + "cullface": "top" + }, + "bottom": { + "texture": "#bottom", + "cullface": "bottom" + } + } + }, + { + "from": [ + 0, + 0, + 1 + ], + "to": [ + 16, + 16, + 15 + ], + "faces": { + "north": { + "texture": "#side", + "uv": [ + 0, + 0, + 16, + 16 + ] + }, + "south": { + "texture": "#side", + "uv": [ + 0, + 0, + 16, + 16 + ] + } + } + }, + { + "from": [ + 1, + 0, + 0 + ], + "to": [ + 15, + 16, + 16 + ], + "faces": { + "west": { + "texture": "#side", + "uv": [ + 0, + 0, + 16, + 16 + ] + }, + "east": { + "texture": "#side", + "uv": [ + 0, + 0, + 16, + 16 + ] + } + } + } + ] + } +} diff --git a/mods/bworld/textures/cactus_bottom.png b/mods/bworld/textures/cactus_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..27dd148781efa20971c5f17e2b8c177bfdf05958 GIT binary patch literal 226 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPGa3-AeX{r~^JRfxQfyR>(jMtYOg zp0&kKZ>>4DqyF~!*_V%WmLHPo0IFmx3GxeOaCmkj4ah0-ba4#fkTpHHQSguf59@{h ztx*$f7|YZi6sbQfOocpe%_;(_U@Qsp3ubV5b|VeQY4UV&4B?PvJ-CsR$x+1h;_vvh zZ5(Pz20OB~n9UT}u5C<6V2x^9FjXgPgPFp#56lNkE;-KmC={9)STq0t literal 0 HcmV?d00001 diff --git a/mods/bworld/textures/cactus_top.png b/mods/bworld/textures/cactus_top.png new file mode 100644 index 0000000000000000000000000000000000000000..ddae5176b6676cdc14bd232080d80c39315d9636 GIT binary patch literal 240 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPGa3-AeX{r~^Jj=QvXnnrq)m5iy- z?Q7@G>|1RWBENo4Yx6wc-HT`L1FB>!3GxeOaCmkj4ajNmba4#fkhMLym-mo?0NaK4 zPAa!PPka&dYk5JwzJQ{cgI9k5+Xms2TQVgYI#)ih{WG!fk=|h*Dfvm;rWW?OM;uOc zRQ$DAt9gsZs@UZM^D