This commit is contained in:
Julien
2021-02-16 01:32:44 +01:00
parent 253dd9b21e
commit 43f8e7e950
2 changed files with 69 additions and 0 deletions

View File

@@ -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"}
}
}
]
}