Mojira Archive
MCPE-168109

Ender dragons visually face the opposite direction from their rotation value

Ender dragons' rotation value and visual rotation do not match, it is visually rotated 180 degrees.

Steps to reproduce:

  • Spawn an ender dragon.
    /summon ender_dragon

Option 1:

  • Run the following command in a repeating command block:
    /execute at @p as @e[type=ender_dragon] run tp @s ^ ^ ^20 facing ^ ^ ^-20
  • Observe the dragon faces away from you.

Option 2:

  • Run the following command in a repeating command block:
    /execute as @p at @e[type=ender_dragon] positioned ^ ^ ^10 facing entity @e[type=ender_dragon,c=1] feet run tp @s ~ ~ ~
  • Observe you're put behind the dragon

Option 3:

  • Run the following command in a repeating command block:
    /execute as @p at @e[type=ender_dragon] run tp @s ~ ~ ~ ~ ~
  • Observe you're facing the opposite direction from the dragon at all times.

The dragon faces the exact opposite direction, being visually rotated 180 degrees compared to the rotation value; this messes up commands which use the local coordinates.

This report is an edited copy of the java edition equivalent: MC-135115.

Unresolved

[Mod] turbo

user-f2760

2023-03-10, 11:11 AM

2024-09-09, 01:08 PM

2

3

Confirmed

1070669

1.20.40.20 Preview - 1.21.23 Hotfix1.20.40.20 Preview, 1.20.20.20 Preview, 1.19.63, 1.20.1 Hotfix, 1.20.15 Hotfix, 1.20.50.22 Preview, 1.20.50.21 Preview, 1.20.40, 1.21.23 Hotfix

-