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

Ender Dragon doesn't take damage from melee attacks unless hit a certain way

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 1.15.2, 20w06a, 20w09a, 20w11a, 20w22a, 1.16 Pre-release 8, 1.16.2, 1.16.3, 1.16.4, 20w45a, 20w46a, 20w51a, 1.16.5, 21w08a, 21w18a, 1.17 Pre-release 3, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w38a, 21w42a, 1.18 Pre-release 1, 1.18, 1.18.1 Pre-release 1, 1.18.1, 1.18.2, 22w12a, 22w16b, 1.19 Pre-release 2, 1.19 Pre-release 4, 1.19, 1.19.2, 1.19.3 Pre-release 2, 1.19.3 Pre-release 3, 1.19.3, 1.19.4 Pre-release 3, 1.19.4, 23w18a, 1.20 Release Candidate 1, 1.20, 1.20.1, 23w31a, 23w32a, 1.20.2 Release Candidate 2, 1.20.2, 23w40a, 23w43a, 1.20.4, 23w51b, 24w05b, 24w06a, 24w07a, 24w14a, 1.20.5 Pre-Release 1
    • None
    • Confirmed
    • Combat, Entities, Hitboxes
    • Important
    • Platform

      When fighting the ender dragon, melee attacks sometimes don't register at all.

      On the middle hitbox where the torso is ubicated, hits don't register from the center of the model towards the tail. Instead, they are only registering near the head, and only on certain weird angles. From what i've seen, the other hitboxes where the head and tail are located seem to be unaffected. Another important thing to say is that wings don't ever register hits (more info in the comments).

      Basically, melee attacks done facing to the back or middle of the model don't register, seems to depend on the dragon's or player's position. Arrows however, always register.

      Code Analysis

      Code analysis by insane96mcp can be found in this comment.

        1. 2021-02-24_17.53.32.png
          2021-02-24_17.53.32.png
          1.27 MB
        2. 2021-02-24_17.53.33.png
          2021-02-24_17.53.33.png
          1.39 MB
        3. 2021-02-24_17.53.35.png
          2021-02-24_17.53.35.png
          1.52 MB
        4. 2021-02-24_17.54.02.png
          2021-02-24_17.54.02.png
          1.35 MB
        5. 2021-02-24_17.54.18.png
          2021-02-24_17.54.18.png
          1.01 MB
        6. image-2021-06-18-19-26-40-879.png
          image-2021-06-18-19-26-40-879.png
          1.06 MB
        7. image-2021-06-18-19-30-26-902.png
          image-2021-06-18-19-30-26-902.png
          1.06 MB
        8. hit.png
          hit.png
          611 kB
        9. miss.png
          miss.png
          618 kB
        10. center_hit-2.png
          center_hit-2.png
          619 kB
        11. center_miss.png
          center_miss.png
          613 kB

            Unassigned Unassigned
            Chavamix700 syarumi
            Votes:
            57 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              CHK: