From 9205f082f10e787ddf4b669d5cf6827f9f4f07d9 Mon Sep 17 00:00:00 2001 From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com> Date: Tue, 12 May 2020 23:56:36 +0100 Subject: [PATCH] Rename texture variable to something more sensible --- .../ebwizardry/models/block/receptacle.json | 174 +++++++++--------- 1 file changed, 87 insertions(+), 87 deletions(-) diff --git a/src/main/resources/assets/ebwizardry/models/block/receptacle.json b/src/main/resources/assets/ebwizardry/models/block/receptacle.json index 5c3cd492..407c7cc1 100644 --- a/src/main/resources/assets/ebwizardry/models/block/receptacle.json +++ b/src/main/resources/assets/ebwizardry/models/block/receptacle.json @@ -2,7 +2,7 @@ "credit": "Made with Blockbench", "parent": "block/block", "textures": { - "0": "ebwizardry:blocks/receptacle", + "main": "ebwizardry:blocks/receptacle", "particle": "ebwizardry:blocks/receptacle" }, "elements": [ @@ -11,12 +11,12 @@ "to": [10, 7.5, 11], "rotation": {"angle": 0, "axis": "y", "origin": [10, 6.5, 12]}, "faces": { - "north": {"uv": [1, 5, 5, 6], "texture": "#0"}, - "east": {"uv": [4, 5, 5, 6], "texture": "#0"}, - "south": {"uv": [1, 5, 5, 6], "texture": "#0"}, - "west": {"uv": [1, 5, 2, 6], "texture": "#0"}, - "up": {"uv": [1, 5, 5, 6], "texture": "#0"}, - "down": {"uv": [1, 5, 5, 6], "texture": "#0"} + "north": {"uv": [1, 5, 5, 6], "texture": "#main"}, + "east": {"uv": [4, 5, 5, 6], "texture": "#main"}, + "south": {"uv": [1, 5, 5, 6], "texture": "#main"}, + "west": {"uv": [1, 5, 2, 6], "texture": "#main"}, + "up": {"uv": [1, 5, 5, 6], "texture": "#main"}, + "down": {"uv": [1, 5, 5, 6], "texture": "#main"} } }, { @@ -24,12 +24,12 @@ "to": [10, 6.5, 10], "rotation": {"angle": 0, "axis": "y", "origin": [8, 6.5, 8]}, "faces": { - "north": {"uv": [1, 7, 5, 8], "texture": "#0"}, - "east": {"uv": [1, 7, 5, 8], "texture": "#0"}, - "south": {"uv": [1, 7, 5, 8], "texture": "#0"}, - "west": {"uv": [1, 7, 5, 8], "texture": "#0"}, - "up": {"uv": [1, 1, 5, 5], "texture": "#0"}, - "down": {"uv": [1, 1, 5, 5], "texture": "#0"} + "north": {"uv": [1, 7, 5, 8], "texture": "#main"}, + "east": {"uv": [1, 7, 5, 8], "texture": "#main"}, + "south": {"uv": [1, 7, 5, 8], "texture": "#main"}, + "west": {"uv": [1, 7, 5, 8], "texture": "#main"}, + "up": {"uv": [1, 1, 5, 5], "texture": "#main"}, + "down": {"uv": [1, 1, 5, 5], "texture": "#main"} } }, { @@ -37,12 +37,12 @@ "to": [6, 7.5, 10], "rotation": {"angle": 0, "axis": "y", "origin": [8, 6.5, 8]}, "faces": { - "north": {"uv": [0, 1, 1, 2], "texture": "#0"}, - "east": {"uv": [0, 1, 1, 5], "rotation": 90, "texture": "#0"}, - "south": {"uv": [0, 4, 1, 5], "texture": "#0"}, - "west": {"uv": [0, 1, 1, 5], "rotation": 90, "texture": "#0"}, - "up": {"uv": [0, 1, 1, 5], "texture": "#0"}, - "down": {"uv": [0, 1, 1, 5], "texture": "#0"} + "north": {"uv": [0, 1, 1, 2], "texture": "#main"}, + "east": {"uv": [0, 1, 1, 5], "rotation": 90, "texture": "#main"}, + "south": {"uv": [0, 4, 1, 5], "texture": "#main"}, + "west": {"uv": [0, 1, 1, 5], "rotation": 90, "texture": "#main"}, + "up": {"uv": [0, 1, 1, 5], "texture": "#main"}, + "down": {"uv": [0, 1, 1, 5], "texture": "#main"} } }, { @@ -50,12 +50,12 @@ "to": [10, 7.5, 6], "rotation": {"angle": 0, "axis": "y", "origin": [10, 6.5, 7]}, "faces": { - "north": {"uv": [1, 0, 5, 1], "texture": "#0"}, - "east": {"uv": [4, 0, 5, 1], "texture": "#0"}, - "south": {"uv": [1, 0, 5, 1], "texture": "#0"}, - "west": {"uv": [1, 0, 2, 1], "texture": "#0"}, - "up": {"uv": [1, 0, 5, 1], "texture": "#0"}, - "down": {"uv": [1, 0, 5, 1], "texture": "#0"} + "north": {"uv": [1, 0, 5, 1], "texture": "#main"}, + "east": {"uv": [4, 0, 5, 1], "texture": "#main"}, + "south": {"uv": [1, 0, 5, 1], "texture": "#main"}, + "west": {"uv": [1, 0, 2, 1], "texture": "#main"}, + "up": {"uv": [1, 0, 5, 1], "texture": "#main"}, + "down": {"uv": [1, 0, 5, 1], "texture": "#main"} } }, { @@ -63,12 +63,12 @@ "to": [11, 7.5, 10], "rotation": {"angle": 0, "axis": "y", "origin": [13, 6.5, 8]}, "faces": { - "north": {"uv": [5, 1, 6, 2], "texture": "#0"}, - "east": {"uv": [5, 1, 6, 5], "rotation": 90, "texture": "#0"}, - "south": {"uv": [5, 4, 6, 5], "texture": "#0"}, - "west": {"uv": [5, 1, 6, 5], "rotation": 90, "texture": "#0"}, - "up": {"uv": [5, 1, 6, 5], "texture": "#0"}, - "down": {"uv": [5, 1, 6, 5], "texture": "#0"} + "north": {"uv": [5, 1, 6, 2], "texture": "#main"}, + "east": {"uv": [5, 1, 6, 5], "rotation": 90, "texture": "#main"}, + "south": {"uv": [5, 4, 6, 5], "texture": "#main"}, + "west": {"uv": [5, 1, 6, 5], "rotation": 90, "texture": "#main"}, + "up": {"uv": [5, 1, 6, 5], "texture": "#main"}, + "down": {"uv": [5, 1, 6, 5], "texture": "#main"} } }, { @@ -76,11 +76,11 @@ "to": [11, 6.5, 8.5], "rotation": {"angle": -45, "axis": "z", "origin": [11, 5, 8]}, "faces": { - "north": {"uv": [15, 1, 16, 5], "texture": "#0"}, - "east": {"uv": [14, 1, 15, 5], "texture": "#0"}, - "south": {"uv": [13, 1, 14, 5], "texture": "#0"}, - "west": {"uv": [12, 1, 13, 5], "texture": "#0"}, - "down": {"uv": [13, 4, 14, 5], "texture": "#0"} + "north": {"uv": [15, 1, 16, 5], "texture": "#main"}, + "east": {"uv": [14, 1, 15, 5], "texture": "#main"}, + "south": {"uv": [13, 1, 14, 5], "texture": "#main"}, + "west": {"uv": [12, 1, 13, 5], "texture": "#main"}, + "down": {"uv": [13, 4, 14, 5], "texture": "#main"} } }, { @@ -88,11 +88,11 @@ "to": [12.06066, 8.06066, 8.5], "rotation": {"angle": 0, "axis": "y", "origin": [19.06066, 15.06066, 16]}, "faces": { - "north": {"uv": [15, 0, 16, 2], "texture": "#0"}, - "east": {"uv": [14, 0, 15, 2], "texture": "#0"}, - "south": {"uv": [13, 0, 14, 2], "texture": "#0"}, - "west": {"uv": [12, 0, 13, 2], "texture": "#0"}, - "up": {"uv": [13, 0, 14, 1], "texture": "#0"} + "north": {"uv": [15, 0, 16, 2], "texture": "#main"}, + "east": {"uv": [14, 0, 15, 2], "texture": "#main"}, + "south": {"uv": [13, 0, 14, 2], "texture": "#main"}, + "west": {"uv": [12, 0, 13, 2], "texture": "#main"}, + "up": {"uv": [13, 0, 14, 1], "texture": "#main"} } }, { @@ -100,11 +100,11 @@ "to": [8.5, 6.5, 6], "rotation": {"angle": -45, "axis": "x", "origin": [8, 5, 5]}, "faces": { - "north": {"uv": [14, 1, 15, 5], "texture": "#0"}, - "east": {"uv": [13, 1, 14, 5], "texture": "#0"}, - "south": {"uv": [12, 1, 13, 5], "texture": "#0"}, - "west": {"uv": [15, 1, 16, 5], "texture": "#0"}, - "down": {"uv": [13, 4, 14, 5], "rotation": 90, "texture": "#0"} + "north": {"uv": [14, 1, 15, 5], "texture": "#main"}, + "east": {"uv": [13, 1, 14, 5], "texture": "#main"}, + "south": {"uv": [12, 1, 13, 5], "texture": "#main"}, + "west": {"uv": [15, 1, 16, 5], "texture": "#main"}, + "down": {"uv": [13, 4, 14, 5], "rotation": 90, "texture": "#main"} } }, { @@ -112,11 +112,11 @@ "to": [8.5, 8.06066, 4.93934], "rotation": {"angle": 0, "axis": "y", "origin": [16, 15.06066, -3.06066]}, "faces": { - "north": {"uv": [14, 0, 15, 2], "texture": "#0"}, - "east": {"uv": [13, 0, 14, 2], "texture": "#0"}, - "south": {"uv": [12, 0, 13, 2], "texture": "#0"}, - "west": {"uv": [15, 0, 16, 2], "texture": "#0"}, - "up": {"uv": [13, 0, 14, 1], "rotation": 270, "texture": "#0"} + "north": {"uv": [14, 0, 15, 2], "texture": "#main"}, + "east": {"uv": [13, 0, 14, 2], "texture": "#main"}, + "south": {"uv": [12, 0, 13, 2], "texture": "#main"}, + "west": {"uv": [15, 0, 16, 2], "texture": "#main"}, + "up": {"uv": [13, 0, 14, 1], "rotation": 270, "texture": "#main"} } }, { @@ -124,11 +124,11 @@ "to": [6, 6.5, 8.5], "rotation": {"angle": 45, "axis": "z", "origin": [5, 5, 8]}, "faces": { - "north": {"uv": [13, 1, 14, 5], "texture": "#0"}, - "east": {"uv": [12, 1, 13, 5], "texture": "#0"}, - "south": {"uv": [15, 1, 16, 5], "texture": "#0"}, - "west": {"uv": [14, 1, 15, 5], "texture": "#0"}, - "down": {"uv": [13, 4, 14, 5], "rotation": 180, "texture": "#0"} + "north": {"uv": [13, 1, 14, 5], "texture": "#main"}, + "east": {"uv": [12, 1, 13, 5], "texture": "#main"}, + "south": {"uv": [15, 1, 16, 5], "texture": "#main"}, + "west": {"uv": [14, 1, 15, 5], "texture": "#main"}, + "down": {"uv": [13, 4, 14, 5], "rotation": 180, "texture": "#main"} } }, { @@ -136,11 +136,11 @@ "to": [4.93934, 8.06066, 8.5], "rotation": {"angle": 0, "axis": "y", "origin": [-3.06066, 15.06066, 0]}, "faces": { - "north": {"uv": [13, 0, 14, 2], "texture": "#0"}, - "east": {"uv": [12, 0, 13, 2], "texture": "#0"}, - "south": {"uv": [15, 0, 16, 2], "texture": "#0"}, - "west": {"uv": [14, 0, 15, 2], "texture": "#0"}, - "up": {"uv": [13, 0, 14, 1], "rotation": 180, "texture": "#0"} + "north": {"uv": [13, 0, 14, 2], "texture": "#main"}, + "east": {"uv": [12, 0, 13, 2], "texture": "#main"}, + "south": {"uv": [15, 0, 16, 2], "texture": "#main"}, + "west": {"uv": [14, 0, 15, 2], "texture": "#main"}, + "up": {"uv": [13, 0, 14, 1], "rotation": 180, "texture": "#main"} } }, { @@ -148,11 +148,11 @@ "to": [8.5, 6.5, 11], "rotation": {"angle": 45, "axis": "x", "origin": [8, 5, 11]}, "faces": { - "north": {"uv": [12, 1, 13, 5], "texture": "#0"}, - "east": {"uv": [15, 1, 16, 5], "texture": "#0"}, - "south": {"uv": [14, 1, 15, 5], "texture": "#0"}, - "west": {"uv": [13, 1, 14, 5], "texture": "#0"}, - "down": {"uv": [13, 4, 14, 5], "rotation": 270, "texture": "#0"} + "north": {"uv": [12, 1, 13, 5], "texture": "#main"}, + "east": {"uv": [15, 1, 16, 5], "texture": "#main"}, + "south": {"uv": [14, 1, 15, 5], "texture": "#main"}, + "west": {"uv": [13, 1, 14, 5], "texture": "#main"}, + "down": {"uv": [13, 4, 14, 5], "rotation": 270, "texture": "#main"} } }, { @@ -160,11 +160,11 @@ "to": [8.5, 8.06066, 12.06066], "rotation": {"angle": 0, "axis": "y", "origin": [0, 15.06066, 19.06066]}, "faces": { - "north": {"uv": [12, 0, 13, 2], "texture": "#0"}, - "east": {"uv": [15, 0, 16, 2], "texture": "#0"}, - "south": {"uv": [14, 0, 15, 2], "texture": "#0"}, - "west": {"uv": [13, 0, 14, 2], "texture": "#0"}, - "up": {"uv": [13, 0, 14, 1], "rotation": 90, "texture": "#0"} + "north": {"uv": [12, 0, 13, 2], "texture": "#main"}, + "east": {"uv": [15, 0, 16, 2], "texture": "#main"}, + "south": {"uv": [14, 0, 15, 2], "texture": "#main"}, + "west": {"uv": [13, 0, 14, 2], "texture": "#main"}, + "up": {"uv": [13, 0, 14, 1], "rotation": 90, "texture": "#main"} } }, { @@ -173,12 +173,12 @@ "to": [9.5, 4, 9.5], "rotation": {"angle": 0, "axis": "y", "origin": [14, 11, 17]}, "faces": { - "north": {"uv": [7, 3, 10, 4], "texture": "#0"}, - "east": {"uv": [7, 3, 10, 4], "texture": "#0"}, - "south": {"uv": [7, 3, 10, 4], "texture": "#0"}, - "west": {"uv": [7, 3, 10, 4], "texture": "#0"}, - "up": {"uv": [7, 0, 10, 3], "texture": "#0"}, - "down": {"uv": [7, 0, 10, 3], "texture": "#0"} + "north": {"uv": [7, 3, 10, 4], "texture": "#main"}, + "east": {"uv": [7, 3, 10, 4], "texture": "#main"}, + "south": {"uv": [7, 3, 10, 4], "texture": "#main"}, + "west": {"uv": [7, 3, 10, 4], "texture": "#main"}, + "up": {"uv": [7, 0, 10, 3], "texture": "#main"}, + "down": {"uv": [7, 0, 10, 3], "texture": "#main"} } }, { @@ -187,10 +187,10 @@ "to": [9, 3, 9], "rotation": {"angle": 0, "axis": "y", "origin": [15, 9.5, 15]}, "faces": { - "north": {"uv": [5, 9, 7, 11], "texture": "#0"}, - "east": {"uv": [5, 9, 7, 11], "texture": "#0"}, - "south": {"uv": [5, 9, 7, 11], "texture": "#0"}, - "west": {"uv": [5, 9, 7, 11], "texture": "#0"} + "north": {"uv": [5, 9, 7, 11], "texture": "#main"}, + "east": {"uv": [5, 9, 7, 11], "texture": "#main"}, + "south": {"uv": [5, 9, 7, 11], "texture": "#main"}, + "west": {"uv": [5, 9, 7, 11], "texture": "#main"} } }, { @@ -199,12 +199,12 @@ "to": [10, 1, 10], "rotation": {"angle": 0, "axis": "y", "origin": [14, 8, 17]}, "faces": { - "north": {"uv": [4, 11, 8, 12], "texture": "#0"}, - "east": {"uv": [4, 11, 8, 12], "texture": "#0"}, - "south": {"uv": [4, 11, 8, 12], "texture": "#0"}, - "west": {"uv": [4, 11, 8, 12], "texture": "#0"}, - "up": {"uv": [0, 8, 4, 12], "texture": "#0"}, - "down": {"uv": [0, 12, 4, 16], "texture": "#0", "cullface": "down"} + "north": {"uv": [4, 11, 8, 12], "texture": "#main"}, + "east": {"uv": [4, 11, 8, 12], "texture": "#main"}, + "south": {"uv": [4, 11, 8, 12], "texture": "#main"}, + "west": {"uv": [4, 11, 8, 12], "texture": "#main"}, + "up": {"uv": [0, 8, 4, 12], "texture": "#main"}, + "down": {"uv": [0, 12, 4, 16], "texture": "#main", "cullface": "down"} } } ],