From 5d9ffe8a965321746627e7d77a4bcff2350425c2 Mon Sep 17 00:00:00 2001 From: Raoul Van den Berge Date: Sat, 19 Mar 2016 17:13:37 +0100 Subject: [PATCH] More stuff.. --- .../storagecraft/blockstates/cable.json | 3 + .../models/block/cable_inventory.json | 98 +++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 src/main/resources/assets/storagecraft/models/block/cable_inventory.json diff --git a/src/main/resources/assets/storagecraft/blockstates/cable.json b/src/main/resources/assets/storagecraft/blockstates/cable.json index 6443cd9bf..cb95dcf46 100644 --- a/src/main/resources/assets/storagecraft/blockstates/cable.json +++ b/src/main/resources/assets/storagecraft/blockstates/cable.json @@ -8,6 +8,9 @@ "uvlock": true }, "variants": { + "inventory": { + "model": "storagecraft:cable_inventory" + }, "north": { "true": { "submodel": "storagecraft:cable_north" diff --git a/src/main/resources/assets/storagecraft/models/block/cable_inventory.json b/src/main/resources/assets/storagecraft/models/block/cable_inventory.json new file mode 100644 index 000000000..049952da6 --- /dev/null +++ b/src/main/resources/assets/storagecraft/models/block/cable_inventory.json @@ -0,0 +1,98 @@ +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "elements": [ + { + "name": "Core", + "from": [6.0, 6.0, 6.0], + "to": [10.0, 10.0, 10.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "texture": "#all", + "uv": [0.0, 4.0, 4.0, 8.0] + }, + "south": { + "texture": "#all", + "uv": [12.0, 4.0, 16.0, 8.0] + }, + "west": { + "texture": "#all", + "uv": [8.0, 4.0, 12.0, 8.0] + }, + "up": { + "texture": "#all", + "uv": [8.0, 4.0, 4.0, 0.0] + }, + "down": { + "texture": "#all", + "uv": [12.0, 0.0, 8.0, 4.0] + } + } + }, + { + "name": "East", + "from": [10.0, 6.0, 6.0], + "to": [16.0, 10.0, 10.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "texture": "#all", + "uv": [0.0, 4.0, 4.0, 8.0] + }, + "south": { + "texture": "#all", + "uv": [12.0, 4.0, 16.0, 8.0] + }, + "west": { + "texture": "#all", + "uv": [8.0, 4.0, 12.0, 8.0] + }, + "up": { + "texture": "#all", + "uv": [8.0, 4.0, 4.0, 0.0] + }, + "down": { + "texture": "#all", + "uv": [12.0, 0.0, 8.0, 4.0] + } + } + }, + { + "name": "West", + "from": [0.0, 6.0, 6.0], + "to": [6.0, 10.0, 10.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "texture": "#all", + "uv": [0.0, 4.0, 4.0, 8.0] + }, + "south": { + "texture": "#all", + "uv": [12.0, 4.0, 16.0, 8.0] + }, + "west": { + "texture": "#all", + "uv": [8.0, 4.0, 12.0, 8.0] + }, + "up": { + "texture": "#all", + "uv": [8.0, 4.0, 4.0, 0.0] + }, + "down": { + "texture": "#all", + "uv": [12.0, 0.0, 8.0, 4.0] + } + } + } + ] +}