From 8d8a0e36546f203143e4d051036977af1177b5ed Mon Sep 17 00:00:00 2001 From: Adrien1106 Date: Wed, 14 May 2025 03:51:43 +0200 Subject: [PATCH] fix: broken inner collision due to bad model --- .../reframed/models/block/stair/outer.json | 20 ++++++++++++----- .../models/block/stair/outer_side.json | 22 ++++++++++++++----- 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/src/main/resources/assets/reframed/models/block/stair/outer.json b/src/main/resources/assets/reframed/models/block/stair/outer.json index d5f4c99..00e8f5e 100644 --- a/src/main/resources/assets/reframed/models/block/stair/outer.json +++ b/src/main/resources/assets/reframed/models/block/stair/outer.json @@ -1,17 +1,27 @@ { + "credit": "Made with Blockbench", "textures": { "particle": "#side" }, "elements": [ { - "from": [0, 0, 0], + "from": [0, 0, 8], "to": [8, 8, 16], "faces": { - "north": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "north"}, "south": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "south"}, - "west": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "west"}, - "up": {"uv": [0, 0, 8, 16], "texture": "#top"}, - "down": {"uv": [0, 0, 8, 16], "texture": "#bottom", "cullface": "down"} + "west": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 8, 8, 16], "texture": "#top"}, + "down": {"uv": [0, 0, 8, 8], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [0, 0, 0], + "to": [8, 8, 8], + "faces": { + "north": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "north"}, + "west": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 0, 8, 8], "texture": "#top"}, + "down": {"uv": [0, 8, 8, 16], "texture": "#bottom", "cullface": "down"} } }, { diff --git a/src/main/resources/assets/reframed/models/block/stair/outer_side.json b/src/main/resources/assets/reframed/models/block/stair/outer_side.json index 1f23bb8..f3d5700 100644 --- a/src/main/resources/assets/reframed/models/block/stair/outer_side.json +++ b/src/main/resources/assets/reframed/models/block/stair/outer_side.json @@ -1,16 +1,26 @@ { + "credit": "Made with Blockbench", "textures": { "particle": "#side" }, "elements": [ { - "from": [8, 0, 0], + "from": [8, 8, 0], "to": [16, 16, 8], "faces": { - "north": {"uv": [0, 0, 8, 16], "texture": "#side", "cullface": "north"}, - "east": {"uv": [8, 0, 16, 16], "texture": "#side", "cullface": "east"}, - "west": {"uv": [0, 0, 8, 16], "texture": "#side"}, - "up": {"uv": [8, 0, 16, 8], "texture": "#top", "cullface": "up"}, + "north": {"uv": [0, 0, 8, 8], "texture": "#side", "cullface": "north"}, + "east": {"uv": [8, 0, 16, 8], "texture": "#side", "cullface": "east"}, + "west": {"uv": [0, 0, 8, 8], "texture": "#side"}, + "up": {"uv": [8, 0, 16, 8], "texture": "#top", "cullface": "up"} + } + }, + { + "from": [8, 0, 0], + "to": [16, 8, 8], + "faces": { + "north": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "east"}, + "west": {"uv": [0, 8, 8, 16], "texture": "#side"}, "down": {"uv": [8, 8, 16, 16], "texture": "#bottom", "cullface": "down"} } }, @@ -50,7 +60,7 @@ "name": "outer_stairs", "origin": [8, 8, 8], "color": 0, - "children": [0, 1, 2, 3] + "children": [0, 1, 2, 3, 4] } ] } \ No newline at end of file