Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-111009

Ender dragon hitboxes are inconsistent; different wing sizes and gaps

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.11, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 19w13b, 1.16.1, 20w28a, 20w51a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Hitboxes

      Description

      The bug

      Ender dragon hitboxes are inconsistent and have gaps.

      • Right wing is 3 blocks high, the left one only 2.
      • Gap between between head and body.
      • Mouth hitbox is inside of head hitbox, likely because the head is shifted to the front causing the above described gap.
      • Gap between tail and body.

      How to reproduce

      1. Summon an ender dragon
        /summon ender_dragon
        
      2. Press F3 + B to show hitboxes

      Code analysis (partwise)

      Based on 1.12 decompiled using MCP 9.40 PRE 1

      The wing sizes are inconsistent because the method net.minecraft.entity.boss.EntityDragon.onLivingUpdate() sets for one wing a height of 3, but for the other 2.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Littleman9Mew2 Littleman9Mew2
              Votes:
              7 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: