From 43f8e7e950edc1ba898d07cde9e3c8f16573fabc Mon Sep 17 00:00:00 2001 From: Julien Date: Tue, 16 Feb 2021 01:32:44 +0100 Subject: [PATCH] add model to fix : https://bugs.mojang.com/browse/MC-214073 --- .../models/block/template_azalea.json | 69 ++++++++++++++++++ .../minecraft/textures/block/azalea_side.png | Bin 0 -> 889 bytes 2 files changed, 69 insertions(+) create mode 100644 assets/minecraft/models/block/template_azalea.json create mode 100644 assets/minecraft/textures/block/azalea_side.png diff --git a/assets/minecraft/models/block/template_azalea.json b/assets/minecraft/models/block/template_azalea.json new file mode 100644 index 000000000..f4aa24bec --- /dev/null +++ b/assets/minecraft/models/block/template_azalea.json @@ -0,0 +1,69 @@ +{ + "description": "Fix UVs issues from Mojang", + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "block/azalea_plant", + "plant": "block/azalea_plant" + }, + "elements": [ + { + "from": [0, 16, 0], + "to": [16, 16, 16], + "faces": { + "up": {"uv": [0, 0, 16, 16], "texture": "#top"}, + "down": {"uv": [16, 16, 0, 0], "texture": "#top"} + } + }, + { + "from": [0, 5, 0], + "to": [16, 16, 0], + "faces": { + "north": {"uv": [0, 0, 16, 11], "texture": "#side"}, + "south": {"uv": [0, 0, 16, 11], "texture": "#side"} + } + }, + { + "from": [0, 5, 16], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 16, 11], "texture": "#side"}, + "south": {"uv": [0, 0, 16, 11], "texture": "#side"} + } + }, + { + "from": [0, 5, 0], + "to": [0, 16, 16], + "faces": { + "east": {"uv": [0, 0, 16, 11], "texture": "#side"}, + "west": {"uv": [16, 0, 0, 11], "texture": "#side"} + } + }, + { + "from": [16, 5, 0], + "to": [16, 16, 16], + "faces": { + "east": {"uv": [0, 0, 16, 11], "texture": "#side"}, + "west": {"uv": [16, 0, 0, 11], "texture": "#side"} + } + }, + { + "from": [0.8, 0, 8], + "to": [15.2, 15.8, 8], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true}, + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#plant"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#plant"} + } + }, + { + "from": [8, 0, 0.8], + "to": [8, 15.8, 15.2], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true}, + "faces": { + "east": {"uv": [0, 0, 16, 16], "texture": "#plant"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#plant"} + } + } + ] +} \ No newline at end of file diff --git a/assets/minecraft/textures/block/azalea_side.png b/assets/minecraft/textures/block/azalea_side.png new file mode 100644 index 0000000000000000000000000000000000000000..1660845ea2743325eb3ccbcd04750ef346267030 GIT binary patch literal 889 zcmV-<1BU#GP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0}e?rXAr7qIeeJ)Y}pn`Q3UY&m^$w#=N^ zDsPuI%GonVW4`ryro4OqwGcDExDo#BegD$M92`FWBYanv4+STDg1Bt&*uaU+g(Gv} zWO4vGJ_G=he_UA&8^A_911JW8@W2OnvS)JqI}?BSv>6*F1~@_{F|YzUf=v+saR>t> z0B~5CPm^QoAWdM56=qTRkdUrmXP%)r zVyqs}y|CCu&quJI*N~HhRs(JMiJeOe;DduWI|J}T2t1wVpU)C-b8%pwk>3O_m9W)3 z72}@OTeaOm6g**VMG%By1|k?F7mF8aS$^HeTw)SJ&eNk{&J!raVn|Nj*o8z9whyom znL?}%cwc}?au`8BM(dXSNnmcXHnhLM@!?g0XhTbd~_Iy6YML( zwXh?t5X26-s+SnS!@P#~^Cz#W)dMPa4kXL1Q-sKK;oh{ai17g`0_0;L*nKMSwFJ3x z=GtC7dsC^HJ>r?OhYb$9!Fu8b5n!On2SF8q*cE|Iur|5GpiM5et^2;;HuxX$_JfNt zn74Mv&AXR-hI9Ax*e%{s`P1Usjq|aYmEL)HsXV^_a