mojira.dev
MC-278923

Zombified piglins remember players that leave their dimension and reenter

The Error Bug

Zombified piglins stay angry at the player even after leaving the current dimension and returning.

Steps to reproduce

  • Go to the nether in survival

  • Hit a zombified piglin

  • Run

  • Leave the nether

  • Go back to the nether

  • ❌ The zombified piglins will attack.

Expected results
The zombified piglins will forget about the player upon leaving the current dimension, causing them to turn neutral again.

Observed results
The zombified piglins remember players that leave the dimension.

Comments 4

Why would you expect them to forget they're angry at you? They're not hostile mobs that just attack anything, they remember who provoked them for a certain duration.
The UUID of the provoking player is stored, and only cleared when their timer runs out. Even disconnecting and reconnecting doesn't save you,and that was a deliberate bug fix: MC-4520. Why should they forget you upon leaving the dimension if they are supposed to remember you when leaving the world?

This is 1000% by design.

Wait there’s a timer? I thought it was infinite

AngerTime: Ticks until the mob becomes neutral. -2,147,483,648 to 0 for neutral mobs; 1 to 2,147,483,647 for angry mobs. Value depletes by one every tick if value is greater than 0. When the value turns from 1 to 0, the mob does not stop tracking the target until the target has exited the mob's detection radius. When hit by a player or when another mob of the same type within 32 blocks is hit by a player, the value is set to a random number between 400 and 800.
AngryAt: The Universally Unique IDentifier of the entity that caused this mob to be angry, stored as four ints.

From the wiki, info is accurate to the behavior of the game.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version History – Snapshot Version History – The official Minecraft feedback site

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

Dylan C.

(Unassigned)

Confirmed

Mob behaviour

1.21.4

Retrieved