The Bug:
Thorns activates when ice balls are fully blocked by shields.
Arrows fully blocked by shields don't activate thorns, therefore introducing an inconsistency.
Steps to Reproduce:
Obtain a shield and put it in your off hand.
Give yourself a chestplate enchanted with a high level of thorns by using the command provided below.
/give @s minecraft:diamond_chestplate[minecraft:enchantments={"minecraft:thorns":10}]Summon a frostbite holding ice balls by using the command provided below.
/summon minecraft:frostbite ~ ~ ~8 {equipment:{mainhand:{id:"minecraft:ice_ball"},head:{id:"minecraft:diamond_helmet"}}}Switch to survival mode.
Block the ice balls that the frostbite throws at you with your shield.
Observe if the frostbite is hurt by thorns.
Observed Behavior:
Thorns activates when ice balls are fully blocked by shields.
Expected Behavior:
Thorns would not activate when ice balls are fully blocked by shields.