From 83578c052acd1ebd406979436de10eef1652ca1f Mon Sep 17 00:00:00 2001 From: IM23a-spirgif Date: Tue, 10 Jun 2025 21:50:31 +0200 Subject: [PATCH] Added new JSON model for Stalinium Cache block, defining detailed elements, textures, and groups. --- .../models/block/stalinium_cache.json | 294 ++++++++++++++++++ 1 file changed, 294 insertions(+) create mode 100644 src/main/resources/assets/stalinium/models/block/stalinium_cache.json diff --git a/src/main/resources/assets/stalinium/models/block/stalinium_cache.json b/src/main/resources/assets/stalinium/models/block/stalinium_cache.json new file mode 100644 index 0000000..c36dc59 --- /dev/null +++ b/src/main/resources/assets/stalinium/models/block/stalinium_cache.json @@ -0,0 +1,294 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [8, 8], + "textures": { + "0": "stalinium:block/stalinium_cache_top", + "1": "stalinium:block/stalinium_middle_texture", + "2": "stalinium:block/stalinium_cache_rim", + "3": "stalinium:block/stalinium_cache_top_rim", + "4": "stalinium:block/stalinium_design_button", + "particle": "stalinium:block/stalinium_cache_top" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [14, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 32, 4], "texture": "#3"}, + "east": {"uv": [0, 0, 32, 4], "texture": "#3"}, + "south": {"uv": [0, 0, 32, 4], "texture": "#3"}, + "west": {"uv": [0, 0, 32, 4], "texture": "#3"}, + "up": {"uv": [0, 0, 32, 32], "texture": "#3"}, + "down": {"uv": [0, 0, 32, 32], "texture": "#3"} + } + }, + { + "from": [0, 13, 0], + "to": [16, 14, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [14, 13, 0]}, + "faces": { + "north": {"uv": [8, 0, 16, 0.5], "texture": "#0"}, + "east": {"uv": [8, 0.5, 16, 1], "texture": "#0"}, + "south": {"uv": [8, 1, 16, 1.5], "texture": "#0"}, + "west": {"uv": [8, 1.5, 16, 2], "texture": "#0"}, + "up": {"uv": [8, 8, 0, 0], "texture": "#0"}, + "down": {"uv": [8, 8, 0, 16], "texture": "#0"} + } + }, + { + "from": [-1, 2, -1], + "to": [17, 3, 17], + "rotation": {"angle": 0, "axis": "y", "origin": [15, 2, 2]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#2"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#2"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#2"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#2"}, + "up": {"uv": [0, 0, 4, 4], "texture": "#2"}, + "down": {"uv": [0, 0, 4, 4], "texture": "#2"} + } + }, + { + "from": [-1, 7, -1], + "to": [17, 8, 17], + "rotation": {"angle": 0, "axis": "y", "origin": [15, 7, 2]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#2"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#2"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#2"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#2"}, + "up": {"uv": [0, 0, 4, 4], "texture": "#2"}, + "down": {"uv": [0, 0, 4, 4], "texture": "#2"} + } + }, + { + "from": [-1, 12, -1], + "to": [17, 13, 17], + "rotation": {"angle": 0, "axis": "y", "origin": [15, 12, 2]}, + "faces": { + "north": {"uv": [4.5, 0, 9, 0.25], "texture": "#2"}, + "east": {"uv": [4.5, 0.25, 9, 0.5], "texture": "#2"}, + "south": {"uv": [4.5, 0.5, 9, 0.75], "texture": "#2"}, + "west": {"uv": [4.5, 0.75, 9, 1], "texture": "#2"}, + "up": {"uv": [4.5, 4.5, 0, 0], "texture": "#2"}, + "down": {"uv": [4.5, 4.5, 0, 9], "texture": "#2"} + } + }, + { + "from": [0, 3, 0], + "to": [16, 7, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [14, 3, 0]}, + "faces": { + "north": {"uv": [8, 0, 16, 2], "texture": "#1"}, + "east": {"uv": [8, 2, 16, 4], "texture": "#1"}, + "south": {"uv": [8, 4, 16, 6], "texture": "#1"}, + "west": {"uv": [8, 6, 16, 8], "texture": "#1"}, + "up": {"uv": [8, 8, 0, 0], "texture": "#1"}, + "down": {"uv": [8, 8, 0, 16], "texture": "#1"} + } + }, + { + "from": [0, 8, 0], + "to": [16, 12, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [14, 8, 0]}, + "faces": { + "north": {"uv": [0, 0, 8, 2], "texture": "#1"}, + "east": {"uv": [0, 0, 8, 2], "texture": "#1"}, + "south": {"uv": [0, 0, 8, 2], "texture": "#1"}, + "west": {"uv": [0, 0, 8, 2], "texture": "#1"}, + "up": {"uv": [0, 0, 8, 8], "texture": "#1"}, + "down": {"uv": [0, 0, 8, 8], "texture": "#1"} + } + }, + { + "from": [14, 14, 14], + "to": [16, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [15, 14, 13]}, + "faces": { + "north": {"uv": [1, 0, 3, 1], "texture": "#3"}, + "east": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "west": {"uv": [1, 0, 2, 1], "texture": "#3"}, + "up": {"uv": [0, 1, 2, 2], "texture": "#3"}, + "down": {"uv": [0, 0, 2, 1], "texture": "#3"} + } + }, + { + "from": [0, 14, 14], + "to": [2, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 13]}, + "faces": { + "north": {"uv": [1, 0, 3, 1], "texture": "#3"}, + "east": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "west": {"uv": [1, 0, 2, 1], "texture": "#3"}, + "up": {"uv": [0, 1, 2, 2], "texture": "#3"}, + "down": {"uv": [0, 0, 2, 1], "texture": "#3"} + } + }, + { + "from": [14, 14, 1], + "to": [16, 15, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [15, 14, 0]}, + "faces": { + "north": {"uv": [1, 0, 3, 1], "texture": "#3"}, + "east": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "west": {"uv": [1, 0, 2, 1], "texture": "#3"}, + "up": {"uv": [0, 1, 2, 2], "texture": "#3"}, + "down": {"uv": [0, 0, 2, 1], "texture": "#3"} + } + }, + { + "from": [0, 14, 1], + "to": [2, 15, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 0]}, + "faces": { + "north": {"uv": [1, 0, 3, 1], "texture": "#3"}, + "east": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "west": {"uv": [1, 0, 2, 1], "texture": "#3"}, + "up": {"uv": [0, 1, 2, 2], "texture": "#3"}, + "down": {"uv": [0, 0, 2, 1], "texture": "#3"} + } + }, + { + "from": [0, 14, 0], + "to": [2, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 0]}, + "faces": { + "north": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "east": {"uv": [1, 0, 2, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "west": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "down": {"uv": [0, 1, 2, 2], "texture": "#3"} + } + }, + { + "from": [14, 14, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [14, 14, 15]}, + "faces": { + "north": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "east": {"uv": [2, 1, 3, 2], "texture": "#3"}, + "south": {"uv": [0, 1, 2, 2], "texture": "#3"}, + "west": {"uv": [2, 2, 3, 3], "texture": "#3"}, + "up": {"uv": [2, 3, 0, 2], "texture": "#3"}, + "down": {"uv": [4, 0, 2, 1], "texture": "#3"} + } + }, + { + "from": [14, 14, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [14, 14, 0]}, + "faces": { + "north": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "east": {"uv": [1, 0, 2, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "west": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "down": {"uv": [0, 1, 2, 2], "texture": "#3"} + } + }, + { + "from": [0, 14, 15], + "to": [2, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 15]}, + "faces": { + "north": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "east": {"uv": [1, 0, 2, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "west": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#3"}, + "down": {"uv": [0, 1, 2, 2], "texture": "#3"} + } + }, + { + "from": [13, 14, 11], + "to": [14, 15, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [13, 14, 10]}, + "faces": { + "north": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "east": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "west": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#3"} + } + }, + { + "from": [8, 14, 5], + "to": [11, 15, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [10, 14, 4]}, + "faces": { + "north": {"uv": [0, 6, 6, 8], "texture": "#4"}, + "east": {"uv": [0, 6, 6, 8], "texture": "#4"}, + "south": {"uv": [0, 6, 6, 8], "texture": "#4"}, + "west": {"uv": [0, 6, 6, 8], "texture": "#4"}, + "up": {"uv": [6, 6, 0, 0], "texture": "#4"}, + "down": {"uv": [6, 0, 0, 6], "texture": "#4"} + } + }, + { + "from": [4, 14, 11], + "to": [5, 15, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 14, 10]}, + "faces": { + "north": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "east": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "west": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#3"} + } + }, + { + "from": [4, 14, 4], + "to": [5, 15, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 14, 3]}, + "faces": { + "north": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "east": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "south": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "west": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#3"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#3"} + } + }, + { + "from": [9, 15, 6], + "to": [10, 16, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 15, 6]}, + "faces": { + "north": {"uv": [0, 0, 2, 2], "texture": "#3"}, + "east": {"uv": [0, 0, 2, 2], "texture": "#3"}, + "south": {"uv": [0, 0, 2, 2], "texture": "#3"}, + "west": {"uv": [0, 0, 2, 2], "texture": "#3"}, + "up": {"uv": [0, 0, 2, 2], "texture": "#3"}, + "down": {"uv": [0, 0, 2, 2], "texture": "#3"} + } + } + ], + "groups": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + { + "name": "group", + "origin": [0, 14, 15], + "color": 0, + "children": [7, 8, 9, 10, 11, 12, 13, 14] + }, + 15, + 16, + 17, + 18, + 19 + ] +} \ No newline at end of file