mojira.dev
MC-167060

Ender dragon doesn't die if it's not beside the portal

The bug

Ender dragon doesn't die if it's not beside the portal.

How to reproduce

  1. Go to the end:

    /execute in the_end run teleport @s 0 90 0
  2. Give you a powerful weapon:

    /give @p minecraft:stick{Enchantments:[{id:sharpness,lvl:32767},{id:looting,lvl:32767}]}
  3. Attack the ender dragon many time before it will not working for the first time
    → ❌  You see that the ender dragon does not die and it has 0 health

  4. Wait for the ender dragon go beside the portal
    → ✔  The ender dragon dies

Linked issues

Attachments

Comments 3

violine1101

As far as I know, the dragon should only die if it is on top of the portal. See also MC-108901.

Avoma

Can confirm in 20w51a.

BlockZooBuilder

Isn't it supposed to fly to the top of the portal and die? So the XP all falls around the portal and not off into the void somewhere.

TheBoy358

(Unassigned)

Confirmed

Mob behaviour

1.14.4, 1.15 Pre-release 4, 20w51a, 1.16.5

Retrieved