mojira.dev
MC-278382

Iron Golems will become aggressive towards the player immediately after spawning

The bug affects 1.20.1, I am not sure if it affects 1.21.3 or other versions.
I have a desert-only hardcore world where my base is in a desert (obviously). I also have a villager breeder with ~15 villagers inside, and because there is a cave nearby which spawns zombies, the villagers will spawn an iron golem every possible chance (every 500 game ticks). I kill these iron golems for their iron. However, sometimes when I kill an iron golem, the next one that spawns is immediately aggressive without being attacked. Leaving the world and re-joining before the iron golem sees me appears to solve the issue. 

Comments 1

Thank you for your report!
However, this issue is Invalid.

Your Minecraft version is outdated. We only take issues for the latest release and the latest snapshot.
Please update to the latest version as it includes the newest fixes. If you still have this problem after updating, then please create a new issue.
In case of a game crash, please also attach the crash report found in [minecraft/crash-reports/crash-<DATE>-client.txt|https://minecrafthopper.net/help/finding-minecraft-data-folder/].

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

antyxyz

(Unassigned)

Unconfirmed

(Unassigned)

1.21.3

Retrieved