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 000000000..1660845ea Binary files /dev/null and b/assets/minecraft/textures/block/azalea_side.png differ