Mojira Archive
MC-135115

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,limit=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.

Unresolved

[Mod] turbo

Peter S

2018-07-28, 07:51 AM

2024-09-09, 01:08 PM

8

2

Confirmed

Commands

ender_dragon

Minecraft 1.13 - 1.21.1Minecraft 1.13, Minecraft 1.13.1, 1.16.1, 20w28a, 1.16.3, 20w51a, 1.19.2, 1.19.3, 1.20.1, 1.20.2 Pre-Release 3, 1.20.2, 23w43b, 1.20.4, 1.21.1

-