I went to bed in my base with 20+ villagers in the room next door. There was a villager linked up to my bed, so an iron golem spawned in there. When I went into the sleeping position though, the golem became hostile and started attacking me when I stood up. I killed the golem, but it confused me why it became hostile.
Another instance of this is when I killed another golem that had spawned. When I went to pick up the ingots, the other golem started attacking me.
Comments 2
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
If you popularity in the village is low enough from killing villagers or other iron golems, then iron golems attack you on sight. Had you killed villagers or iron golems before the first iron golem attacked you?