The bug
When attacking a zombified piglin in Survival mode and then switching to Creative, the zombified piglin stays angry.
How to reproduce
Summon a zombified piglin
Be in Survival mode
Hit the zombified piglin
Switch into Creative mode
→ ❌ The zombified piglin continues to make angry soundsSwitch back into Survival
→ ❌ The zombified piglin attacks you again
Linked issues
Comments 11
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.
@unknown, please don't nuke your own tickets. I've reset this ticket and removed you as the reporter.
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.
How did you spawn in the Zombified Piglin?