I'm making a button, and I wanted to have it be able to face any direction, while also being able to rotate the output around. X and Y work, but I can't seem to get it to rotate around Z.
block states:
{
"variants": {
"facing=north,rotation=1": { "model": "mymod:block/big_button", "x": 270, "y": 0, "z": 0 },
"facing=north,rotation=2": { "model": "mymod:block/big_button", "x": 270, "y": 0, "z": 90 },
"facing=north,rotation=3": { "model": "mymod:block/big_button", "x": 270, "y": 0, "z": 180 },
"facing=north,rotation=4": { "model": "mymod:block/big_button", "x": 270, "y": 0, "z": 270 },
"facing=south": { "model": "mymod:block/big_button", "x": 90 },
"facing=east": { "model": "mymod:block/big_button", "x": 90, "y": 90 },
"facing=west": { "model": "mymod:block/big_button", "x": 90, "y": 270 },
"facing=up": { "model": "mymod:block/big_button", "y": 90 },
"facing=down": { "model": "mymod:block/big_button", "y": 90, "x": 180 }
}
}