From 6ead1cfaf5157435929c0d5b72b2c0d0717c6eb0 Mon Sep 17 00:00:00 2001 From: GearShocky Date: Thu, 24 Nov 2022 19:01:07 +0600 Subject: [PATCH] Let there be light. (For batteries) --- .../models/block/battery/battery0.json | 16 +++++++++++++++- .../models/block/battery/battery6.json | 16 +++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/battery/battery0.json b/src/main/resources/assets/overdrive_that_matters/models/block/battery/battery0.json index 6e75065c7..194766728 100644 --- a/src/main/resources/assets/overdrive_that_matters/models/block/battery/battery0.json +++ b/src/main/resources/assets/overdrive_that_matters/models/block/battery/battery0.json @@ -1,4 +1,5 @@ { + "credit": "Made with Blockbench", "texture_size": [32, 16], "textures": { "1": "overdrive_that_matters:block/batterybank_core" @@ -9,13 +10,26 @@ "from": [11, 2, 1], "to": [13, 7, 7], "faces": { - "north": {"uv": [1.5, 3, 2.5, 8], "texture": "#1"}, + "north": {"uv": [12, 2, 13, 7], "texture": "#1"}, "east": {"uv": [8, 7, 11, 2], "rotation": 180, "texture": "#1"}, "south": {"uv": [11, 2, 12, 7], "texture": "#1"}, "west": {"uv": [8, 2, 11, 7], "texture": "#1"}, "up": {"uv": [8, 0, 11, 2], "rotation": 90, "texture": "#1"}, "down": {"uv": [8, 7, 11, 9], "rotation": 270, "texture": "#1"} } + }, + { + "name": "emissive", + "from": [11, 2, 1], + "to": [13, 7, 1], + "faces": { + "north": {"uv": [1.5, 3, 2.5, 8], "texture": "#1", "emissivity": 15}, + "east": {"uv": [0, 0, 0, 5], "texture": "#missing"}, + "south": {"uv": [0, 0, 1, 5], "texture": "#missing"}, + "west": {"uv": [0, 0, 0, 5], "texture": "#missing"}, + "up": {"uv": [0, 0, 1, 0], "texture": "#missing"}, + "down": {"uv": [0, 0, 1, 0], "texture": "#missing"} + } } ] } \ No newline at end of file diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/battery/battery6.json b/src/main/resources/assets/overdrive_that_matters/models/block/battery/battery6.json index fd4b949b2..ca6135657 100644 --- a/src/main/resources/assets/overdrive_that_matters/models/block/battery/battery6.json +++ b/src/main/resources/assets/overdrive_that_matters/models/block/battery/battery6.json @@ -1,4 +1,5 @@ { + "credit": "Made with Blockbench", "texture_size": [32, 16], "textures": { "1": "overdrive_that_matters:block/batterybank_core" @@ -12,11 +13,24 @@ "faces": { "north": {"uv": [11, 2, 12, 7], "texture": "#1"}, "east": {"uv": [8, 2, 11, 7], "texture": "#1"}, - "south": {"uv": [1.5, 3, 2.5, 8], "texture": "#1"}, + "south": {"uv": [12, 2, 13, 7], "texture": "#1"}, "west": {"uv": [8, 7, 11, 2], "rotation": 180, "texture": "#1"}, "up": {"uv": [8, 0, 11, 2], "rotation": 270, "texture": "#1"}, "down": {"uv": [8, 7, 11, 9], "rotation": 90, "texture": "#1"} } + }, + { + "name": "emissive", + "from": [3, 2, 15], + "to": [5, 7, 15], + "faces": { + "north": {"uv": [0, 0, 1, 5], "texture": "#missing"}, + "east": {"uv": [0, 0, 0, 5], "texture": "#missing"}, + "south": {"uv": [2, 3, 3, 8], "texture": "#1", "emissivity": 15}, + "west": {"uv": [0, 0, 0, 5], "texture": "#missing"}, + "up": {"uv": [0, 0, 1, 0], "texture": "#missing"}, + "down": {"uv": [0, 0, 1, 0], "texture": "#missing"} + } } ] } \ No newline at end of file