mojira.dev
MC-134707

Phantoms' rotation pitch is reversed

Phantoms have the pitch inverted compared to the rotation value. This messes up commands using local coordinates.

Steps to reproduce:

  • Run the following command in a repeating command block:

    execute at @p positioned ^ ^ ^5 as @e[type=phantom] run teleport @s ~ ~ ~ ~ ~
  • observe the phantom's facing direction

Expected result:

The phantom has the same facing direction as you.

Actual result:
The phantom faced up when you face down, and vice versa.

Linked issues

Attachments

Comments 12

Forgot to mention this is in a single player world.

Confirmed for 18w30b

Confirmed for 18w31a

Confirmed for 18w32a

2 more comments

Confirmed for 20w11a

Can confirm in 1.17.1.

This issue also affects bedrock editions, I have created MCPE-168110 to describe the issue there.

Confirmed for 1.20.1 and 1.20.2-pre3, requesting ownership as reporter has done nothing on mojira aside from making this report; never maintained it.

Legacy of Madara

user-f2760

(Unassigned)

Confirmed

Gameplay

Low

Entities, Hitboxes

Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, ..., 1.20.1, 1.20.2 Pre-Release 3, 1.20.2, 23w43b, 1.20.4

Retrieved