Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-168109

Ender dragons visually face the opposite direction from their rotation value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.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
    • None
    • Confirmed
    • Multiple
    • 1070669

      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.

        1. option 1.png
          option 1.png
          1.07 MB
        2. option 2.png
          option 2.png
          574 kB
        3. option 3.png
          option 3.png
          589 kB

            jirauser71590 user-f2760 (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: