/summon minecraft:goat ~ ~ ~ {NoAI:1b,Rotation:[180f,0f]}
/summon minecraft:goat ~ ~ ~ {NoAI:1b,Rotation:[90f,0f]}
This will result in two goats who are barely rotated from each other, rather than 90º apart.
This was reported before with a typo as MC-225980. As I noted there in my response, the fact that the typo of "900" for "90" existed only would have indicated a different problem, because if the two rotations were the same, the two goats should entirely overlap, while they clearly did not.
Also, if you summon a different mob next to the goat at rotation 180, it will be pointed in roughly the opposite direction – the 180.0f rotation is pretty much ignored, really. And the summoned goat is not pointing along an axis, but nearby one.
All in all, rotation on a summoned goat is broken.
Linked issues
is duplicated by 5
Attachments
Comments 15
I just tried explicit rotation commands that also acted weirdly. First I tried to right their rotation
/execute as @e[tag=goat] run data merge entity @s {Rotation:[90f,0f]}
This didn't affect them. Running the same command with a rotation of 270f caused them to align themselves along the Z axis, with a few degrees of shift. For me, that is a rotation of 0. "data get" tells me that the goat thinks it's rotated at 270. Other various rotations pretty much either fail to move the goat, or just move it a few degrees off of 0.
This ticket is currently blocked by MC-256647, and thus cannot be tested/tested thoroughly.
Affects 1.19.3 Pre-Release 2. I believe it came back when MC-256647 was fixed but I haven't tested it until now.
Sorry I didn't see your other comments on the old report