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

scoreboard criteria damage_dealt_resisted does not work on players

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.14.3
    • None
    • Windows 10

      Java (build 1.8.0_211-b12)

       

      singleplayer world & vanilla server both running latest version (edit: also bukkit server)
    • Unconfirmed
    • Accessibility

      The scoreboard objective criteria minecraft.custom:minecraft.damage_dealt_resisted does not increase when a player is hit and resists damage using the resistance effect.

       

      However, the score does increase when a non-player entity with health points and the resistance effect is hit (tested bat, blaze, chicken, creeper, enderman, pig, snow_golem, zombie).

       

      To replicate follow these steps:

      /scoreboard objectives add dmg_dealt_res minecraft.custom:minecraft.damage_dealt_resisted

      /scoreboard objectives setdisplay sidebar dmg_dealt_res

      /summon zombie ~ ~ ~

      /effect give @e[type=zombie] minecraft:resistance 1000 10 true

      then hit the zombie, score goes up.

      Have another player (host LAN, or host a vanilla server); give them resistance and hit them. score should go up but does not.

       

      (you can give yourself resistance and shoot yourself with an arrow and the score won't go up either, but neither does the criteria minecraft.custom:minecraft.damage_dealt if you don't apply resistance: could also be a bug?)

       

            Unassigned Unassigned
            CmdBlocco Cilan Dent
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: