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

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 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
    • None
    • None
    • Confirmed
    • Combat, Entities, Hitboxes
    • Important

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Chavamix700 Chava.
              Votes:
              40 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: