Mojira Archive
MC-155678

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

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[minecraft:enchantments={levels:{"minecraft:thorns":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.

Unresolved

[Mod] Avoma

TheFox231

2019-06-30, 01:04 PM

2024-12-07, 09:52 PM

10

3

Confirmed

Player

Minecraft 1.14.3 - 1.21.4Minecraft 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, 1.21, 1.21.3, 1.21.4

-