-
Bug
-
Resolution: Fixed
-
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
- Try running this
/data modify entity @e[type=enderman,limit=1,sort=nearest] AngryAt set from entity @e[sort=nearest,limit=1] UUID
- Run /data get
→ The AngryAt tag is not present and AngerTime is set to 0