Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-118174

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


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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 18w19b, Minecraft 1.13.2, Minecraft 18w50a, 1.15.2, 1.16.1, 20w51a, 1.17.1
    • Confirmed
    • Combat
    • Normal
    • Platform

      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).

            Unassigned Unassigned
            urielsalis [Mod] Urielsalis
            15 Vote for this issue
            4 Start watching this issue