From 2409021aaa4ef975bdafd875a4b390538df43c4e Mon Sep 17 00:00:00 2001 From: IM23a-spirgif Date: Wed, 11 Jun 2025 10:48:25 +0200 Subject: [PATCH] Updated Stalinium Cache model: adjusted textures, faces, UV mapping, and added display settings. Added new bottom texture. --- .../models/block/stalinium_cache.json | 59 +++++++++++++----- .../textures/block/stalinium_cache_bottom.png | Bin 0 -> 112 bytes 2 files changed, 45 insertions(+), 14 deletions(-) create mode 100644 src/main/resources/assets/stalinium/textures/block/stalinium_cache_bottom.png diff --git a/src/main/resources/assets/stalinium/models/block/stalinium_cache.json b/src/main/resources/assets/stalinium/models/block/stalinium_cache.json index c36dc59..99ff30d 100644 --- a/src/main/resources/assets/stalinium/models/block/stalinium_cache.json +++ b/src/main/resources/assets/stalinium/models/block/stalinium_cache.json @@ -1,12 +1,12 @@ { "credit": "Made with Blockbench", - "texture_size": [8, 8], + "texture_size": [32, 32], "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", + "4": "stalinium:block/stalinium_cache_bottom", "particle": "stalinium:block/stalinium_cache_top" }, "elements": [ @@ -15,12 +15,12 @@ "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"} + "north": {"uv": [8, 0, 16, 1], "texture": "#4"}, + "east": {"uv": [8, 1, 16, 2], "texture": "#4"}, + "south": {"uv": [8, 2, 16, 3], "texture": "#4"}, + "west": {"uv": [8, 3, 16, 4], "texture": "#4"}, + "up": {"uv": [8, 8, 0, 0], "texture": "#4"}, + "down": {"uv": [8, 8, 0, 16], "texture": "#4"} } }, { @@ -223,12 +223,12 @@ "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"} + "north": {"uv": [0, 6, 6, 8], "texture": "#missing"}, + "east": {"uv": [0, 6, 6, 8], "texture": "#missing"}, + "south": {"uv": [0, 6, 6, 8], "texture": "#missing"}, + "west": {"uv": [0, 6, 6, 8], "texture": "#missing"}, + "up": {"uv": [6, 6, 0, 0], "texture": "#missing"}, + "down": {"uv": [6, 0, 0, 6], "texture": "#missing"} } }, { @@ -271,6 +271,37 @@ } } ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "thirdperson_lefthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, 45, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_lefthand": { + "rotation": [0, 225, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 225, 0], + "scale": [0.625, 0.625, 0.625] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + }, "groups": [ 0, 1, diff --git a/src/main/resources/assets/stalinium/textures/block/stalinium_cache_bottom.png b/src/main/resources/assets/stalinium/textures/block/stalinium_cache_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..d536155d0e273cbde077d4146dbdc12cc0c9a8b0 GIT binary patch literal 112 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={W7>k44ofy`glX(f`XnDFghIn+o zJ!{Cwz`$|Xz~S