Mojira Archive
MC-223301

Goats not taking damage when attacking with Thorns armor equipped

When a goat rams a player wearing armor enchanted with Thorns, it will not take damage, even though it is attacking Thorns armor.

Steps to reproduce:

  •  Equip a piece of armor that has the Thorns enchantment
  • Summon a goat
  • Do /execute as @e[type=minecraft:goat,limit=1,sort=nearest] run data modify entity @s Brain.memories."minecraft:ram_cooldown_ticks".value set value 1
  • Wait for the goat to ram you, if it doesn't, repeat the command
  • The goat will not take damage when it hits you

Evidence:

  • video attachment by Avoma

Most likely cause: Goat rams might be handled with a different system from regular attacks

Proposed solution: Modify the Thorns enchantment to apply to goat rams as well

Fixed

Gabor Korn

[Mojang] slicedlime

2021-04-15, 06:51 PM

2024-05-01, 04:42 AM

2024-04-30, 11:48 AM

13

9

Confirmed

Normal

Gameplay

Mob behaviour

goat, thorns

21w15a - 1.20.421w15a, 21w16a, 21w17a, 21w18a, 1.17, 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 23w06a, 1.20.1, 23w31a, 23w33a, 1.20.4

24w18a