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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.2, Minecraft 18w50a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.2, Minecraft 1.14.3, 1.14.4, 19w37a, 19w45b, 1.15 Pre-Release 2, 1.15, 1.15.2, 20w06a, 20w07a, 20w08a, 20w10a, 20w12a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w21a, 1.16.1, 1.16.2, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w08b, 21w10a, 21w11a, 21w13a, 21w16a, 21w17a, 21w18a, 21w20a, 1.17.1, 21w37a, 21w39a, 21w41a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18, 1.18.1, 1.18.2 Pre-release 1, 1.18.2, 22w12a, 22w15a, 1.19
    • Confirmed
    • Commands
    • Low
    • Platform

      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

            Unassigned Unassigned
            addgame Adam
            Votes:
            35 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: