Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-223301

Goats not taking damage when attacking with Thorns armor equipped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w18a
    • 21w15a, 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
    • Confirmed
    • Mob behaviour
    • Normal
    • Gameplay

      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

        1. MC-223301.mp4
          4.77 MB
        2. MC-223301.png
          MC-223301.png
          1.57 MB

            slicedlime [Mojang] slicedlime
            NULL2008 Gabor Korn
            Votes:
            13 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: