From fe09e0cdd74134a89859e9eb857715a51b48882d Mon Sep 17 00:00:00 2001 From: Paula Date: Sun, 22 Nov 2026 14:09:05 -0300 Subject: [PATCH] the purpur was a lie --- .../blocks/deepslate_tile_wall.json | 1 + .../blocks/purpur_stairs.json | 32 +++++++++++----- .../blocks/smooth_sandstone_stairs.json | 1 + .../blocks/stair_rail_collision.json | 38 +++++++++++++++++++ 4 files changed, 63 insertions(+), 9 deletions(-) create mode 100644 mods/dangerous_business/blocks/stair_rail_collision.json diff --git a/mods/dangerous_business/blocks/deepslate_tile_wall.json b/mods/dangerous_business/blocks/deepslate_tile_wall.json index a2ef90c..bb5b872 100644 --- a/mods/dangerous_business/blocks/deepslate_tile_wall.json +++ b/mods/dangerous_business/blocks/deepslate_tile_wall.json @@ -5,6 +5,7 @@ "textures": { "wall": "dangerous_business:deepslate_tiles" }, + "render_layer": "cutout", "item_model": "dangerous_business:wall_inventory", "states": [ { diff --git a/mods/dangerous_business/blocks/purpur_stairs.json b/mods/dangerous_business/blocks/purpur_stairs.json index e9fe35f..78fa4b9 100644 --- a/mods/dangerous_business/blocks/purpur_stairs.json +++ b/mods/dangerous_business/blocks/purpur_stairs.json @@ -3,8 +3,27 @@ "block": { "id": "dangerous_business:purpur_stairs", "textures": "dangerous_business:purpur_block", - "model": "dangerous_business:stairs", + "render_layer": "cutout", + "model": "dangerous_business:empty", "item_model": "dangerous_business:stairs", + "shape": [ + [ + 0, + 0, + 0, + 16, + 8, + 16 + ], + [ + 8, + 8, + 0, + 16, + 16, + 16 + ] + ], "states": [ { "name": "facing", @@ -19,20 +38,15 @@ ], "variants": { "facing=0": { - "y": 270, - "uvlock": true + "y": 270 }, "facing=2": { - "y": 90, - "uvlock": true + "y": 90 }, "facing=3": { - "y": 180, - "uvlock": true + "y": 180 }, "half=1": { - "x": 180, - "uvlock": true, "shape": [ [ 0, diff --git a/mods/dangerous_business/blocks/smooth_sandstone_stairs.json b/mods/dangerous_business/blocks/smooth_sandstone_stairs.json index 538f588..9560e05 100644 --- a/mods/dangerous_business/blocks/smooth_sandstone_stairs.json +++ b/mods/dangerous_business/blocks/smooth_sandstone_stairs.json @@ -3,6 +3,7 @@ "block": { "id": "dangerous_business:smooth_sandstone_stairs", "textures": "dangerous_business:smooth_sandstone", + "render_layer": "cutout", "model": "dangerous_business:stairs", "item_model": "dangerous_business:stairs", "states": [ diff --git a/mods/dangerous_business/blocks/stair_rail_collision.json b/mods/dangerous_business/blocks/stair_rail_collision.json new file mode 100644 index 0000000..02a5d98 --- /dev/null +++ b/mods/dangerous_business/blocks/stair_rail_collision.json @@ -0,0 +1,38 @@ +{ + "format_version": 1, + "block": { + "id": "dangerous_business:stair_rail_collision", + "textures": "cubi:missing", + "render_layer": "cutout", + "model": "dangerous_business:empty", + "item_model": "cubi:cube", + "shape": [ + [ + 0, + 0, + 14, + 16, + 16, + 16 + ] + ], + "states": [ + { + "name": "facing", + "bits": 2, + "default": 0 + } + ], + "variants": { + "facing=0": { + "y": 180 + }, + "facing=1": { + "y": 270 + }, + "facing=3": { + "y": 90 + } + } + } +}