The bug
Before the area effect cloud entity was introduced, dying from dragon breath used the death message "Player was roasted in dragon breath" (death.attack.dragonBreath) or "Player1 was roasted in dragon breath by Player2" (death.attack.dragonBreath.player). Dying from dragon breath now displays the death message "Player was killed by Ender Dragon using magic" (death.attack.indirectMagic).
The two unused death messages should either be removed or used instead of the magic death message.
Linked issues
relates to 2
Comments 24
Confirmed in 1.21.7, and relates to MC-299395
Can confirm in the current snapshot 26.1.
It won’t be noticed most of the time in vanilla game play. However, in datapack development, we need the area effective cloud that can offer instant damage effect for all the mobs whether they’re undead or not, but no status effect can achieve this and it brings so much inconvenience!
So I suggest MOJANG making dragon breath damage its own effect, just similar to the wither, it damages all the mobs including the undead mobs 3 * (2^levels) amount. And then make dragon breath cloud offer this effect instead of instant damage.
It says instead "[Player] has been killed by Ender Dragon using Magic"