mojira.dev
MC-313700

Thorns activates when ice balls are fully blocked by shields

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:

  1. Obtain a shield and put it in your off hand.

  2. 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}]
  3. 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"}}}
  4. Switch to survival mode.

  5. Block the ice balls that the frostbite throws at you with your shield.

  6. 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.

Attachments

Comments 1

Avoma

(Unassigned)

Plausible

26.4 Pre-Release 2

Future Update

Retrieved