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.
2018-07-24, 02:37 AM
2024-10-16, 10:57 AM
22
10
Minecraft 1.13 - 1.20.4
Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w46a, Minecraft 19w08b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14.3, 1.15.2, 20w12a, 1.16, 1.16.1, 20w28a, 1.16.2, 1.16.3, 20w49a, 1.17.1, 1.20.1, 1.20.2 Pre-Release 3, 1.20.2, 23w43b, 1.20.4
-