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

AngryAt cannot be manually applied to endermen


    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w43a
    • 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 6, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w29a, 1.16.2, 1.16.4, 20w46a, 20w51a, 21w03a, 21w06a, 1.18.1, 1.19.2
    • None
    • Confirmed
    • Commands, Mob behaviour
    • Normal

      The bug

      An enderman cannot have their AngryAt modified with commands; this will result in the tag being removed and their AngerTime set to 0.

      I'm aware modifying NBT of living entities is not supported, but when MC-188497 is fixed, this becomes an issue with setting it on-summon. I've opened a separate ticket for it because it is a separate issue.

      How to reproduce

      1. Try running this
        /data modify entity @e[type=enderman,limit=1,sort=nearest] AngryAt set from entity @e[sort=nearest,limit=1] UUID
      2. Run /data get
        The AngryAt tag is not present and AngerTime is set to 0

            MNilsson [Mojang] MNilsson
            ChromaKey81 ChromaKey
            18 Vote for this issue
            14 Start watching this issue