Iron golem attacking players on peaceful difficulty, but attack does not hurt player
Steps to reproduce:
- Set the difficulty to peaceful (/difficulty 0)
- Summon an iron golem (/summon VillagerGolem)
- Make sure you're in Survival mode (/gamemode 0)
- Attack the golem
- The golem will repeatedly swing its arms at you, but you won't receive any damage or knockback
I would expect the golem to either deal damage or not swing its arms at all.