Iron Golems can spawn on transparent blocks like glass or leaves. This was not the case in 1.19.4.
Screenshot shows Iron Golem spawning on glass block next to my iron farm. I watched the farm for a while and the Iron Golems spawned on different glass blocks all around the farm.
To reproduce
[media]Create a glass flatland world
Build a stone platform for iron golems to spawn on
Place three beds and summon three villagers
Set the time to night briefly, to let the villagers sleep in the beds
Summon a husk
Wait for the villagers to spawn in an iron golem
Observed behaviour
The iron golems often spawn on top of some glass blocks.
Expected behaviour
The iron golems should only be able to spawn on the stone platform, as is the case in 1.19.4 and below.
Linked issues
is duplicated by 2
Attachments
Comments 4
This is not a duplicate. Iron golems spawning partially inside glass is one thing. Since 1.20 prereleases, iron golems are spawning completely on top of glass with no non-glass blocks nearby.
Thank you for your report!
We're tracking this issue in MC-189332, so this ticket is being resolved and linked 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:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki