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

"minecraft.custom:minecraft.damage_dealt" doesn't increase when the thorns enchantment damages entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.14.3, 1.16.1, 20w28a, 1.16.2, 20w51a, 1.16.5, 21w06a, 21w08b, 1.17.1, 21w38a, 1.18 Pre-release 1, 1.18, 1.18.1, 22w05a, 1.18.2, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.4, 23w51b
    • None
    • Confirmed
    • Player

      The Bug:

      "minecraft.custom:minecraft.damage_dealt" doesn't increase when the thorns enchantment damages entities.

      Steps to Reproduce:

      1. Create a scoreboard objective for tracking when you deal damage and set it to display on the sidebar by using the commands provided below.  
        /scoreboard objectives add DamageDealt minecraft.custom:minecraft.damage_dealt
        /scoreboard objectives setdisplay sidebar DamageDealt
      2. Summon a husk, attack it and take note of how the scoreboard increases.
      3. Equip some armor enchanted with thorns by using the command provided below.
        /item replace entity @s armor.chest with minecraft:diamond_chestplate{Enchantments:[{id:"minecraft:thorns",lvl:3}]}
      4. Switch into survival mode and allow the husk to damage you.
      5. Wait for the thorns enchantment to damage the husk.
      6. Take note as to whether or not "minecraft.custom:minecraft.damage_dealt" increases when the thorns enchantment damages entities.

      Observed Behavior:

      "minecraft.custom:minecraft.damage_dealt" doesn't increase when the thorns enchantment damages entities.

      Expected Behavior:

      "minecraft.custom:minecraft.damage_dealt" would increase when the thorns enchantment damages entities.

        1. MC-155678.mp4
          9.11 MB
        2. MC-155678.png
          MC-155678.png
          993 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            8 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: