diff --git a/src/main/resources/assets/modid/icon.png b/src/main/resources/assets/redstone-rewired/icon.png similarity index 100% rename from src/main/resources/assets/modid/icon.png rename to src/main/resources/assets/redstone-rewired/icon.png diff --git a/src/main/resources/assets/redstone-rewired/items/cable.json b/src/main/resources/assets/redstone-rewired/items/cable.json new file mode 100644 index 0000000..1d71893 --- /dev/null +++ b/src/main/resources/assets/redstone-rewired/items/cable.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "redstone-rewired:block/cable" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/redstone-rewired/models/block/cable.json b/src/main/resources/assets/redstone-rewired/models/block/cable.json new file mode 100644 index 0000000..707f7d6 --- /dev/null +++ b/src/main/resources/assets/redstone-rewired/models/block/cable.json @@ -0,0 +1,19 @@ +{ + "textures": { + "all": "redstone-rewired:block/cable" + }, + "elements": [ + { + "from": [6.75, 6.75, 0], + "to": [9.25, 9.25, 16], + "faces": { + "north": {"uv": [3, 3, 4.5, 4.5], "texture": "#all"}, + "east": {"uv": [0, 0, 8, 1.5], "texture": "#all"}, + "south": {"uv": [3, 4.5, 4.5, 6], "texture": "#all"}, + "west": {"uv": [0, 1.5, 8, 3], "texture": "#all"}, + "up": {"uv": [0, 0, 3, 3], "texture": "#all"}, + "down": {"uv": [0, 0, 3, 3], "texture": "#all"} + } + } + ] +} diff --git a/src/main/resources/assets/redstone-rewired/textures/block/cable.png b/src/main/resources/assets/redstone-rewired/textures/block/cable.png new file mode 100644 index 0000000..4fdbebc Binary files /dev/null and b/src/main/resources/assets/redstone-rewired/textures/block/cable.png differ