mojira.dev
MC-6101

The Ender Dragon cannot be harmed by other mob's projectiles

Mobs that use projectiles as their weapon, such as Skeletons and Withers, cannot deal damage to the Ender Dragon but projectiles fired by a player does deal damage, such as an arrow.

Steps to Reproduce:
1. Make a new Creative world.
2. Construct an End Portal and enter it.
3. Spawn a Wither.
4. It may be difficult, but get the Wither to chase the Ender Dragon.
5. Notice that when a Wither Skull manages to directly hit the Ender Dragon, no damage is dealt. Sometimes, only the explosion damage is dealt.

Linked issues

Attachments

Comments 6

the ender dragon is immune to bad effects, but not immune to explosions: Intended

It was already resolved as intended.

Is this still an issue in 22w19a?

Can confirm in 1.19.4 and 23w18a

Confirmed for 1.20.2. I was wondering why my skeletons kept missing...

Edit: If you need this fixed for map maker reasons, there is a workaround. Make every arrow belong to the player:

execute as @e[type=arrow] run data modify entity @s Owner set from entity @p UUID

Can confirm in 24w14a. I've written a more streamlined and reliable way to reproduce this:

Steps to Reproduce:

  1. Place down a repeating command block (no redstone activation), with the following command

    tp @e[type=minecraft:ender_dragon] ~ ~4 ~
  2. Summon an ender dragon

    /summon minecraft:ender_dragon
  3. Spawn a skeleton nearby

  4. Make it target the ender dragon (replace UUID field with the skeleton's UUID)

    /damage [UUID] 1 minecraft:mob_attack by @e[type=minecraft:ender_dragon,sort=nearest,limit=1]

Expected Results:

The skeleton would damage the ender dragon.

Observed Result:

The arrow is removed, and does not damage the ender dragon.

chumbanotz

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour

ender_dragon, mob, projectile, wither

Snapshot 13w01b, Snapshot 13w02a, Snapshot 13w02b, Snapshot 13w03a, Snapshot 13w04a, ..., 1.19 Pre-release 2, 1.19, 1.19.4, 23w18a, 1.20.2 Release Candidate 2

Retrieved