Using the following blockstate json in a custom resource pack:
{
"variants": {
"": [{
"model": "minecraft:block/cobblestone"
},
{
"model": "minecraft:block/cobblestone",
"x": 90,
"y": 90,
"z": 90
},
{
"model": "minecraft:block/cobblestone",
"x": 180,
"y": 180,
"z": 180
},
{
"model": "minecraft:block/cobblestone",
"x": 270,
"y": 270,
"z": 270
}
]
}
}
and a texture for cobblestone that gives it an arrow facing upwards, I would have expected to see lots of arrows facing in 4 different directions.
Rotations on the x axis do not show the 90 or 270 degrees rotation (pointing left and right in the image x axis example).
Rotations on the y axis do not show the 270 degrees rotation (pointing left in the image y axis example).
Rotations on the z axis do not show the 90 degrees rotation (pointing left on the image z axis example).
If you want to reproduce this bug for yourself, I have attatched the resource pack I was using for the screenshots. I was not using any other resource packs to produce this bug.
Linked issues
Attachments
Comments 6
I don't think it is a duplicate of MC-131564, because this only refers to one model, so there is no reason for only some rotations to be ignored. Also, the cobblestone model does not have uvlock set to true.
z
does nothing: MC-70636
Does this behave how you would expect considering that fact?
I am not experiencing the fact of MC-70636, but instead am getting some rotation on the z axis, just not as expected:
[media]
This is because how the texture is layed out for cobblestone. With the unrotated variant, the textures on all sides will be pointing up.
The way you defined the blockstate, the game will either rotate the block 0, 90, 180, or 270 degrees on all the axis, but never 90 degrees on one axis and another number on another axis.
You can take a look at
[media]. In that resource pack, cobblestone is never rotated, stone is 90 degrees, granite is 180 degrees and andesite is 270 degrees on all the axis. You can place them next to each other and try to understand the symmetrie.
Note that the sides don't get rotated seperately when changing rotation values in the blockstate, but the entire block is rotated around that axis.
Possibly a Duplicate of MC-131564