mojira.dev
MC-187377

Zombified Piglins / Wolves stay angry after switching to creative or spectator mode

The bug

When attacking a zombified piglin in Survival mode and then switching to Creative, the zombified piglin stays angry.

How to reproduce

  1. Summon a zombified piglin

  2. Be in Survival mode

  3. Hit the zombified piglin

  4. Switch into Creative mode
    → ❌ The zombified piglin continues to make angry sounds

  5. Switch back into Survival
    → ❌ The zombified piglin attacks you again

Linked issues

Comments 11

How did you spawn in the Zombified Piglin?

lastchaos26200

I don't know if it's a mistake or not 😃 if not, I'll be happy 😃 

The zombified piglin actually stays angry. If you switch back to Survival, it will continue to attack you.

I assume this is intended since zombified piglins only lose aggro when they kill a player or when some time passes.

lastchaos26200

Maybe Pre-release 3 or Final Pre-Release will be fixed 😃 😛

Confirmed in 1.16-pre4.

1 more comments

@unknown, please don't nuke your own tickets. I've reset this ticket and removed you as the reporter.

Confirmed in 1.16-pre8. Since this ticket has no reporter, I'd like to request ownership.

Looks like it is because they will keep targeting the player after switching from Survival to Creative to Survival until the AngerTime tag hits 0

This is caused by the fix of mobs un-angering when the player logs out and this issue affects any other neutral mob as well, such as endermen or iron golems, except they will go angry only after the player switches back to survival.

this also happens in 20w46a

MirekGamesYT

Conem

(Unassigned)

Confirmed

Normal

Mob behaviour

1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, ..., 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a

Retrieved