Iron Golem quietly dies if it is killed by player melee attacks when it is suffocated inside blocks.
How to reproduce the problem
Suffocate an Iron Golem such that the hitbox of the golem is suffocated in solid blocks.
Strike the Iron Golem continuously using a sword (such as stone or netherite).
Finish off the golem with one sword hit.
Expected result
The usual death sound plays automatically whenever the HP of the golem reaches zero.
Actual result
There is no death sound that plays when the golem dies and drops its loot.
Thank you for helping us improve Minecraft! We saved your files: