mojira.dev
MC-118174

Poison / wither / fire damage are not associated with the damaging entity

Damage-over-time effects are not associated with the entity that caused them. This has various effects:

  • The advancement triggers player_hurt_entity and entity_hurt_player doesn't trigger from, for example, fire aspect sword fire or wither skeleton wither damage.

  • Mobs will not drop experience when killed by the fire damage of a player's fire aspect sword, if sufficient time has passed since the last tracked hit.

  • Death statistics are not updated when killed by, for example, the wither effect caused by a wither's skull.

  • Illager captain doesn't give bad omen in the said cases (MC-179648)

Regarding advancement triggers, fire does trigger on its initial hit, but doesn't on subsequent burning damage. Splash and lingering potions of harming do work (but poison does not). All tipped arrows do not trigger when the is_magic condition is used (should possibly be its own report, but it's close enough to include in here, I think).

Related issues

Comments

migrated

Still in 18w50a.

muzikbike

Is powder snow also an example?

Brevort

Can confirm that I am not getting Bad Omen when killing Pillagers with fire from a Bow with the Flame enchantment in 21w16a. Does this mean rare drops will not drop? Like if I shoot a vindicator with a Flame bow and they burn, will I still get the emeralds or XP? What if I switch to a Looting sword? Will I get additional emeralds?

Further, has this always been in the game since the Flame enchantment was added or was it first in 1.12?

ampolive

Can confirm in 1.17.1.

migrated

I'd consider adding to this ticket that it also works with Levitation, since it can eaily kill.

Uriel Salischiker

(Unassigned)

Confirmed

Platform

Normal

Combat

damage, effect, fire, fire_aspect, poison, wither

Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.2, ..., Minecraft 18w50a, 1.15.2, 1.16.1, 20w51a, 1.17.1

Retrieved