From 2328cd75b68405716353a524cb38002ab7054d1a Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 15 Aug 2021 00:12:40 +0700 Subject: [PATCH] Assets for battery and matter capacitor banks --- .../models/block/battery_bank.json | 183 +++++++++++++++++- 1 file changed, 178 insertions(+), 5 deletions(-) diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/battery_bank.json b/src/main/resources/assets/overdrive_that_matters/models/block/battery_bank.json index 075eaedef..13d2dd2b9 100644 --- a/src/main/resources/assets/overdrive_that_matters/models/block/battery_bank.json +++ b/src/main/resources/assets/overdrive_that_matters/models/block/battery_bank.json @@ -1,7 +1,180 @@ { - "parent": "block/cube_all", + "parent": "block/block", + "texture_size": [32, 16], "textures": { - "all": "overdrive_that_matters:block/debug/side", - "south": "overdrive_that_matters:block/debug/front" - } -} + "frame": "overdrive_that_matters:block/batterybank_frame", + "core": "overdrive_that_matters:block/batterybank_core", + "particle": "overdrive_that_matters:block/batterybank_frame" + }, + "elements": [ + { + "name": "frame", + "from": [14, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 14, 1, 16], "texture": "#frame"}, + "east": {"uv": [0, 14, 8, 16], "texture": "#frame"}, + "south": {"uv": [7, 14, 8, 16], "texture": "#frame"}, + "west": {"uv": [8, 0, 16, 2], "texture": "#frame"}, + "up": {"uv": [8, 0, 16, 2], "rotation": 90, "texture": "#frame"}, + "down": {"uv": [7, 0, 8, 16], "texture": "#frame"} + } + }, + { + "name": "frame", + "from": [0, 0, 0], + "to": [2, 2, 16], + "faces": { + "north": {"uv": [7, 14, 8, 16], "texture": "#frame"}, + "east": {"uv": [8, 0, 16, 2], "texture": "#frame"}, + "south": {"uv": [0, 14, 1, 16], "texture": "#frame"}, + "west": {"uv": [0, 14, 8, 16], "texture": "#frame"}, + "up": {"uv": [8, 0, 16, 2], "rotation": 90, "texture": "#frame"}, + "down": {"uv": [0, 0, 1, 16], "texture": "#frame"} + } + }, + { + "name": "frame", + "from": [2, 0, 0], + "to": [14, 2, 2], + "faces": { + "north": {"uv": [1, 14, 7, 16], "texture": "#frame"}, + "east": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "south": {"uv": [9, 0, 15, 2], "texture": "#frame"}, + "west": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "up": {"uv": [9, 0, 15, 2], "texture": "#frame"}, + "down": {"uv": [1, 14, 7, 16], "texture": "#frame"} + } + }, + { + "name": "frame", + "from": [2, 0, 14], + "to": [14, 2, 16], + "faces": { + "north": {"uv": [9, 0, 15, 2], "texture": "#frame"}, + "east": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "south": {"uv": [1, 14, 7, 16], "texture": "#frame"}, + "west": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "up": {"uv": [9, 0, 15, 2], "texture": "#frame"}, + "down": {"uv": [1, 0, 7, 2], "texture": "#frame"} + } + }, + { + "name": "frame", + "from": [2, 14, 0], + "to": [14, 16, 2], + "faces": { + "north": {"uv": [1, 0, 7, 2], "texture": "#frame"}, + "east": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "south": {"uv": [9, 0, 15, 2], "texture": "#frame"}, + "west": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "up": {"uv": [1, 0, 7, 2], "texture": "#frame"}, + "down": {"uv": [9, 0, 15, 2], "texture": "#frame"} + } + }, + { + "name": "frame", + "from": [0, 14, 0], + "to": [2, 16, 16], + "faces": { + "north": {"uv": [7, 0, 8, 2], "texture": "#frame"}, + "east": {"uv": [8, 0, 16, 2], "texture": "#frame"}, + "south": {"uv": [0, 0, 1, 2], "texture": "#frame"}, + "west": {"uv": [0, 0, 8, 2], "texture": "#frame"}, + "up": {"uv": [0, 0, 1, 16], "texture": "#frame"}, + "down": {"uv": [8, 0, 16, 2], "rotation": 90, "texture": "#frame"} + } + }, + { + "name": "frame", + "from": [2, 14, 14], + "to": [14, 16, 16], + "faces": { + "north": {"uv": [9, 0, 15, 2], "texture": "#frame"}, + "east": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "south": {"uv": [1, 0, 7, 2], "texture": "#frame"}, + "west": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "up": {"uv": [1, 14, 7, 16], "texture": "#frame"}, + "down": {"uv": [9, 0, 15, 2], "texture": "#frame"} + } + }, + { + "name": "frame", + "from": [14, 14, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 1, 2], "texture": "#frame"}, + "east": {"uv": [0, 0, 8, 2], "texture": "#frame"}, + "south": {"uv": [7, 0, 8, 2], "texture": "#frame"}, + "west": {"uv": [8, 0, 16, 2], "texture": "#frame"}, + "up": {"uv": [7, 0, 8, 16], "texture": "#frame"}, + "down": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"} + } + }, + { + "name": "frame", + "from": [14, 2, 14], + "to": [16, 14, 16], + "faces": { + "north": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"}, + "east": {"uv": [0, 2, 1, 14], "texture": "#frame"}, + "south": {"uv": [7, 2, 8, 14], "texture": "#frame"}, + "west": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"}, + "up": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "down": {"uv": [0, 0, 2, 2], "texture": "#missing"} + } + }, + { + "name": "frame", + "from": [0, 2, 14], + "to": [2, 14, 16], + "faces": { + "north": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"}, + "east": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"}, + "south": {"uv": [0, 2, 1, 14], "texture": "#frame"}, + "west": {"uv": [7, 2, 8, 14], "texture": "#frame"}, + "up": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "down": {"uv": [0, 0, 2, 2], "texture": "#missing"} + } + }, + { + "name": "frame", + "from": [14, 2, 0], + "to": [16, 14, 2], + "faces": { + "north": {"uv": [0, 2, 1, 14], "texture": "#frame"}, + "east": {"uv": [7, 2, 8, 14], "texture": "#frame"}, + "south": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"}, + "west": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"}, + "up": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "down": {"uv": [0, 0, 2, 2], "texture": "#missing"} + } + }, + { + "name": "frame", + "from": [0, 2, 0], + "to": [2, 14, 2], + "faces": { + "north": {"uv": [7, 2, 8, 14], "texture": "#frame"}, + "east": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"}, + "south": {"uv": [9, 0, 15, 2], "rotation": 90, "texture": "#frame"}, + "west": {"uv": [0, 2, 1, 14], "texture": "#frame"}, + "up": {"uv": [0, 0, 2, 2], "texture": "#missing"}, + "down": {"uv": [0, 0, 2, 2], "texture": "#missing"} + } + }, + { + "name": "battery holder", + "from": [7, 1, 1], + "to": [9, 15, 15], + "faces": { + "north": {"uv": [8.5, 2, 9.5, 16], "texture": "#frame"}, + "east": {"uv": [8.5, 2, 15.5, 16], "texture": "#frame"}, + "south": {"uv": [8.5, 2, 9.5, 16], "texture": "#frame"}, + "west": {"uv": [8.5, 2, 15.5, 16], "texture": "#frame"}, + "up": {"uv": [8.5, 2, 15.5, 4], "rotation": 90, "texture": "#frame"}, + "down": {"uv": [8.5, 2, 15.5, 4], "rotation": 90, "texture": "#frame"} + } + } + ] +} \ No newline at end of file