mojira.dev
MC-226243

Summoned goats are not properly rotated

/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

Attachments

Comments 15

Sorry I didn't see your other comments on the old report

Can confirm for 1.17 prerelease 1, prerelease 2 and prerelease 3.

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.

Can confirm in 1.17.

Can confirm in 1.17.1.

5 more comments

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.

It was never fixed to begin with...

Can confirm in 23w03a

kcrca

(Unassigned)

Confirmed

Platform

Low

Commands

goat

21w20a, 1.17 Release Candidate 1, 1.17, 1.17.1, 21w42a, , 23w14a, 1.20.1, 23w33a, 24w11a, 1.21

Retrieved