Mojira Archive
MC-141826

minecraft.custom:minecraft.damage_dealt_absorbed doesn't track damage dealt to players

The bug

When doing damage to a player with absorption, the score, with criteria of minecraft.custom:minecraft.damage_dealt_absorbed, is supposed to increase but it is not. The same behaviour also occurs with the criteria minecraft.custom:minecraft.damage_dealt_resisted.

How to reproduce

  1. Get two players on a LAN world and make sure they are in survival
  2. Run the commands
    /scoreboard objectives add damage_dealt minecraft.custom:minecraft.damage_dealt_absorbed
    /effect give @a minecraft:absorption 100000 14 true
    /scoreboard objectives setdisplay sidebar damage_dealt
    
  3. Hit a player with a sword and notice the score doesn't increase