From 5ff2e55d798adec4c2fbffdb3e711a9aa6f7f142 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Wed, 12 Nov 2025 20:35:31 +0100 Subject: [PATCH] Fixed model --- .../assets/redstone-rewired/blockstates/cable.json | 7 ++++++- .../redstone-rewired/models/block/cable_east.json | 12 ------------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/main/resources/assets/redstone-rewired/blockstates/cable.json b/src/main/resources/assets/redstone-rewired/blockstates/cable.json index b174d2a..da1217e 100644 --- a/src/main/resources/assets/redstone-rewired/blockstates/cable.json +++ b/src/main/resources/assets/redstone-rewired/blockstates/cable.json @@ -5,6 +5,11 @@ { "when": { "north": "true" }, "apply": { "model": "redstone-rewired:block/cable_north" } }, { "when": { "south": "true" }, "apply": { "model": "redstone-rewired:block/cable_south" } }, { "when": { "east": "true" }, "apply": { "model": "redstone-rewired:block/cable_east" } }, - { "when": { "west": "true" }, "apply": { "model": "redstone-rewired:block/cable_west" } } + { "when": { "west": "true" }, "apply": { "model": "redstone-rewired:block/cable_west" } }, + + { "when": { "north": "true", "south": "false", "east": "false", "west": "false" }, "apply": { "model": "redstone-rewired:block/cable_south" } }, + { "when": { "north": "false", "south": "true", "east": "false", "west": "false" }, "apply": { "model": "redstone-rewired:block/cable_north" } }, + { "when": { "north": "false", "south": "false", "east": "true", "west": "false" }, "apply": { "model": "redstone-rewired:block/cable_west" } }, + { "when": { "north": "false", "south": "false", "east": "false", "west": "true" }, "apply": { "model": "redstone-rewired:block/cable_east" } } ] } diff --git a/src/main/resources/assets/redstone-rewired/models/block/cable_east.json b/src/main/resources/assets/redstone-rewired/models/block/cable_east.json index b24ed39..b203b0c 100644 --- a/src/main/resources/assets/redstone-rewired/models/block/cable_east.json +++ b/src/main/resources/assets/redstone-rewired/models/block/cable_east.json @@ -19,18 +19,6 @@ "up": {"uv": [1.5, 11, 0, 3], "rotation": 270, "texture": "#0"}, "down": {"uv": [3, 3, 1.5, 11], "rotation": 90, "texture": "#0"} } - }, - { - "from": [6.75, 6.75, 6.75], - "to": [9.25, 9.25, 9.25], - "faces": { - "north": {"uv": [3, 1.5, 4.5, 3], "texture": "#missing"}, - "east": {"uv": [0, 0, 8, 1.5], "texture": "#missing"}, - "south": {"uv": [3, 0, 4.5, 1.5], "texture": "#missing"}, - "west": {"uv": [0, 1.5, 8, 3], "texture": "#missing"}, - "up": {"uv": [1.5, 11, 0, 3], "texture": "#missing"}, - "down": {"uv": [3, 3, 1.5, 11], "texture": "#missing"} - } } ] } \ No newline at end of file