From 37a63f2d00a94a6f7357b9863762af818a58fe3e Mon Sep 17 00:00:00 2001 From: Kade Date: Wed, 1 Jan 2025 18:36:48 -0500 Subject: [PATCH] Fix torch model 1.21.2 or 3 changed the torch model, removing our 3D-ish texture. This reverts it to the 1.21 model. Does not apply to redstone torch, that will come later. --- .../models/block/template_torch.json | 32 +++++++++++++++++ .../models/block/template_torch_wall.json | 35 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 assets/minecraft/models/block/template_torch.json create mode 100644 assets/minecraft/models/block/template_torch_wall.json diff --git a/assets/minecraft/models/block/template_torch.json b/assets/minecraft/models/block/template_torch.json new file mode 100644 index 0000000..ed2a865 --- /dev/null +++ b/assets/minecraft/models/block/template_torch.json @@ -0,0 +1,32 @@ +{ + "ambientocclusion": false, + "textures": { + "particle": "#torch" + }, + "elements": [ + { "from": [ 7, 0, 7 ], + "to": [ 9, 10, 9 ], + "shade": false, + "faces": { + "down": { "uv": [ 7, 13, 9, 15 ], "texture": "#torch" }, + "up": { "uv": [ 7, 6, 9, 8 ], "texture": "#torch" } + } + }, + { "from": [ 7, 0, 0 ], + "to": [ 9, 16, 16 ], + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#torch" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#torch" } + } + }, + { "from": [ 0, 0, 7 ], + "to": [ 16, 16, 9 ], + "shade": false, + "faces": { + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#torch" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#torch" } + } + } + ] +} \ No newline at end of file diff --git a/assets/minecraft/models/block/template_torch_wall.json b/assets/minecraft/models/block/template_torch_wall.json new file mode 100644 index 0000000..e44179e --- /dev/null +++ b/assets/minecraft/models/block/template_torch_wall.json @@ -0,0 +1,35 @@ +{ + "ambientocclusion": false, + "textures": { + "particle": "#torch" + }, + "elements": [ + { "from": [ -1, 3.5, 7 ], + "to": [ 1, 13.5, 9 ], + "rotation": { "origin": [ 0, 3.5, 8 ], "axis": "z", "angle": -22.5 }, + "shade": false, + "faces": { + "down": { "uv": [ 7, 13, 9, 15 ], "texture": "#torch" }, + "up": { "uv": [ 7, 6, 9, 8 ], "texture": "#torch" } + } + }, + { "from": [ -1, 3.5, 0 ], + "to": [ 1, 19.5, 16 ], + "rotation": { "origin": [ 0, 3.5, 8 ], "axis": "z", "angle": -22.5 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#torch" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#torch" } + } + }, + { "from": [ -8, 3.5, 7 ], + "to": [ 8, 19.5, 9 ], + "rotation": { "origin": [ 0, 3.5, 8 ], "axis": "z", "angle": -22.5 }, + "shade": false, + "faces": { + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#torch" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#torch" } + } + } + ] +} \ No newline at end of file