-
Bug
-
Resolution: Works As Intended
-
None
-
23w06a, 23w07a
-
None
-
Confirmed
-
Commands, Mob behaviour
-
Low
-
Platform
The bug
When the source of damage in the /damage command is not the player, the damage will not be applied to the ender dragon.
Reproduce steps
- Summon a non-player mob(e.g., enderman).
- Summon an ender dragon.
- Use the following command:
/damage @e[type=minecraft:ender_dragon,limit=1] 500 minecraft:generic by @e[type=minecraft:enderman,limit=1] from @e[type=minecraft:enderman,limit=1]
- Found that the system prompts the damage has been applied to the ender dragon but not so, the ender dragon looks unharmed.
- Use the following command:
/damage @e[type=minecraft:ender_dragon,limit=1] 500 minecraft:generic by @p from @p
- The command works normally when the source of damage is found to be the player.
- is duplicated by
-
MC-269613 The "/damage" command does not have an effect on ender dragons
- Resolved