Bug: Iron Golems Attack in Peaceful mode under certain conditions. It still attacks the player even after you change your difficulty to PEACEFUL from any other difficulty.
Steps to reproduce the bug:
Create a world in Survival Hard Mode with cheats ON
Use the {{/summon }}command to summon an iron golem
Create a safe area where the iron golem cannot attack
Hit the iron golem and run towards the safe area and take shelter in it. The iron golem must follow you but cannot enter the safe area
Change your difficulty to PEACEFUL
Approach the iron golem. It will hit you again
Thank you for your report!
We're actually already tracking this issue at MCPE-47622, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki