mojira.dev
MC-188497

AngerTime and AngryAt cannot be set on summon

The bug

Mobs can't be summoned with AngryAt; this immediately resets their AngerTime to 0.

How to reproduce

  1. Spawn in any mob where you know its UUID

    /summon pig ~ ~ ~ {UUID:[I;1,2,3,4]}
  2. Summon a wolf

    /summon wolf ~ ~ ~ {AngerTime:10000,AngryAt:[I;1,2,3,4]}

    ❌ The wolf is not angry on spawn

  3. Using data get shows that its AngerTime has reverted to 0 and it is missing AngryAt 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

Attachments

Comments 13

Confirmed in 1.16 Release Candidate 1.

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.

3 more comments

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.

ChromaKey

etanaratsastaja

Confirmed

Platform

Normal

Commands, Mob behaviour

nbt

1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 6, 1.16 Release Candidate 1, 1.16, ..., 1.19, 1.19.1 Pre-release 1, 1.19.2, 1.19.4, 23w14a

1.20.5 Pre-Release 1

Retrieved