Mojira Archive
MC-148600

Zombie pigmen will spread their anger forever if they can continously respawn

The bug

When I log into a world and go into the nether and hit a pigman, they all come and attack me. but then, when I die and go back into the nether, the attacking pigmen keep attacking me along with newly-generated ones. This is a huge problem because in survival I cannot go into the nether without being ambushed by pigmen.

Explanation

by [Helper] Johnibur

On video 2019-06-01 19-35-06.mp4, We are tracking the pigmen Anger data value. Value is initially 0 until you attack a pigman, then the value is set at 800 and decrease at tick speed. The issue happens because the anger value for each pigman is continuously built up by other pigmen spreading their anger, which leads to eventually never reach 0. This issue only persists if the pigmen continue to naturally spawn and despawn, as with normal survival gameplay. The old ones seem to spread this value to the new ones until they despawn and so on, making this a entire way to maintain this process forever.