Mojira Archive
MC-97244

The "minecraft:enchant.thorns.hit" sound event doesn't play when non-player entities are damaged by the thorns enchantment

The Bug:

The "minecraft:enchant.thorns.hit" sound event doesn't play when non-player entities are damaged by the thorns enchantment.

It's important to note that this sound plays if you attack entities wearing armor enchanted with thorns, or if you attack guardians.

Steps to Reproduce:

  1. Give yourself a chestplate enchanted with a high level of thorns by using the command provided below.
    /give @s minecraft:diamond_chestplate[minecraft:enchantments={levels:{"minecraft:thorns":10}}]
  2. Equip the chestplate and summon a husk.
  3. Switch to survival mode, allow the husk to attack you, and listen closely.

Observed Behavior:

The "minecraft:enchant.thorns.hit" sound event doesn't play.

Expected Behavior:

The "minecraft:enchant.thorns.hit" sound event would play.