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:
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}}]
Equip the chestplate and summon a husk.
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.
Linked issues
Attachments
Comments 17
Confirmed for 17w16b (and 1.12.2). The sound does play if I melee a guardian with its thorns extended, but not when mobs attack players with thorns armor.
Confirm in 1.19.1. By the way, does the subtitle show up if being hurt by another mob while wearing thorns armour ?
Confirmed for 16w07b