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

AngryAt tag is not used by certain neutral mobs, causing them to forget their target upon reloading game

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.2, 1.19.3, 23w06a, 1.19.4 Pre-release 3, 1.20 Pre-release 4, 1.20.2, 1.20.4, 1.21, 1.21.1
    • Confirmed
    • Commands, Mob behaviour, Save Data
    • Low
    • Platform

      The bug

      This is a polished re-submission of MC-256268.

      The AngryAt NBT tag is not used by certain neutral mobs. I believe this to be a valid bug, because this causes them to forget their target upon reloading the game. This also causes them to not be affected by commands that modify the AngryAt tag.

      Affected mobs

      • Dolphin
      • Goat (I believe it is technically a passive mob, so this could be WAI)
      • Llama
      • Panda
      • Trader Llama

      To reproduce

      • Summon an affected mob and hit it.
      • Use /data get entity [UUID] AngryAt and see that it does not save the target to NBT.
      • Exit the game and enter the game again.
      • The mob has forgotten about the player that hit it.

      Alternate reproduction steps

      • Run /data merge entity [UUID] {AngryAt:[Your UUID], AngerTime:2000}
      • The mob does not target you.

            Unassigned Unassigned
            ampolive [Mod] ampolive
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: