Golems attack player for no reason, no need to hit the golem or villager, it will attack anyway. If difficulty is changed to peaceful, the golem will still attack you but do no damage.
Comments 3
I am not able to reproduce iron golems attacking the player spontaneously. Please provide steps to reproduce, or a world save, or seed and coordinates where this happens.
The fact that iron golems continue targeting you when you switch to peaceful is tracked at MCPE-47622.
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
is your popularity in the village less than -15? See https://minecraft.gamepedia.com/Village#Popularity