The bug
Mobs can't be summoned with AngryAt
; this immediately resets their AngerTime
to 0.
How to reproduce
Spawn in any mob where you know its UUID
/summon pig ~ ~ ~ {UUID:[I;1,2,3,4]}
Summon a wolf
/summon wolf ~ ~ ~ {AngerTime:10000,AngryAt:[I;1,2,3,4]}
❌ The wolf is not angry on spawn
Using
data get
shows that itsAngerTime
has reverted to 0 and it is missingAngryAt
altogether
Note that Endermen are unreliable candidates for testing this bug, as their behavior when manually setting anger tags is inconsistent with the other neutral mobs (MC-188506).
Linked issues
relates to 2
Attachments
Comments 13
Confirmed to still be a problem in 1.16.2.
The AngerTime tag is completely ignored when custom set for any neutral mob. Doesn't matter if it's spawned/summoned, has the data modified, or has specific UUID set to be angry at. Reverts back to zero.
Just looked into it - this can be fixed if gamerule universalAnger is set to true
Can confirm in 20w46a.
Can confirm in 20w51a.
Can confirm in 21w16a.
Can confirm in 1.18.1.
Can confirm in 1.18.2 and 22w18a.
Can confirm in 1.19 and 1.19.1 Pre-release 1.
Can confirm in 1.19.2.
Confirmed in 1.16 Release Candidate 1.