Talk:Iron Golem

Someone check the code for the iron golem damage.
This topic got archived earlier today, but I really want to know what the iron golem's damage actually is because it keeps changing over time, and if someone can replay of what the damage is, then please say so. Blockofnetherite Talk Contributions 01:55, 1 December 2020 (UTC)

The amount of damage the iron golem keeps changing a LOT. Some are obviously vandalism, others are hard to tell. Can someone check the code to settle this statement? Blockofnetherite Talk Contributions 19:32, 31 August 2020 (UTC)
 * The page has recently received an obviously unconstructive (way too much damage) edit on the damage (I have reverted it by now), but I really do want to know if the current values are correct, and the damage simply keeps changing. Blockofnetherite Talk Contributions 16:09, 26 October 2020 (UTC)

Can someone clarify on which block a golem can spawn
Is there a conflict in the description of where a golem can spawn? It says that a golem can spawn inside half-slabs, but to me that appears to conflict with the statement that the target block must be air, water or lava and must have a block with a solid top surface underneath. Griffon28 (talk) 19:26, 28 January 2021 (UTC)
 * There's no conflict. The spawn location is the location of the iron golem's feet, and there are conditions for the column of blocks above the surface the golem would stand on. If water or a slab or lava is above where the feet would go, then iron golem can spawn inside it. I have to say, the spawning rules described in this article have evolved significantly and now they sound a lot more complicated. Those rules may also be specific to Java, not Bedrock. Amatulic (talk) 02:24, 29 January 2021 (UTC)
 * I'm sorry, i don't see how that would make it possible for the golem to spawn inside half slabs. I also tried, in java, to cover a platform that my golems normally spawn on with half slabs and spawning stops. Could you maybe explain how blocks should be stacked in one column to allow spawning inside the half slab? Griffon28 (talk) 10:25, 30 January 2021 (UTC)
 * Possibly the information here is out of date. I found that says this was resolved last year in 1.16. Amatulic (talk) 18:11, 30 January 2021 (UTC)
 * Let me backtrack - is already cited in the paragraph about spawning in java. Maybe this was fixed for interference with adjacent slabs. I am not sure. Amatulic (talk) 18:15, 30 January 2021 (UTC)

I think the section needs an update, because I just had another spawn that I thought was impossible. This time the golem is not "directly under the sky". The blocks above the golem have redstone running over them. If there is a better place to discuss this, please tell me. Griffon28 (talk) 20:11, 3 February 2021 (UTC)
 * Other than the bug tracker, this is probably the best place to discuss. Reporting this on the bug tracker might at least get (eventually) a response that this "works as intended" or an acknowledgment of a bug. Amatulic (talk) 14:15, 4 February 2021 (UTC)

Mob experience and items
The article isn't clear about what happens to experience and item drops from mobs killed by Iron Golems. Can the player still get experience and drops or not?--177.72.23.38 18:34, 22 February 2021 (UTC)
 * Not. In general, no experience ever drops when a mob dies for any reason other than a direct attack from the player. If a mob dies from falling, burning, or being killed by another mob, no experience drops. Items may drop, though. Amatulic (talk) 19:34, 2 April 2021 (UTC)

Iron Golem flinging mobs into the air by 2.86843 blocks
I've tested the iron golem attempting to attack me by summoning a villager and killing it while it sees me and then it flings me up by 2.86843 blocks into the air; don't know whether other mobs the golem attacks are flung at 2.86843 blocks in the air like the player 142.116.177.230 18:57, 8 May 2021 (UTC)

Iron golems don't get knocked back by the Knockback enchantment on swords
"In Java Edition, iron golems have 100% knockback resistance from normal attacks. They can still be knocked back by the Knockback enchantment on swords and the Punch enchantment on bows."

I've tested using a sword to deal knockback to the golem, but it doesn't receive knockback, even when sprint attacking (this does not apply to bows) - DOES THAT MEAN THE KNOCKBACK ENCHANTMENT CANNOT AFFECT IRON GOLEMS PinksheepyIsLeaving (talk) 13:14, 30 May 2021 (UTC)
 * You say "this does not apply to bows". Does that mean a bow with the Punch enchantment still knocks back an iron golem? I don't play Java Edition so I cannot test this. Amatulic (talk) 15:07, 30 May 2021 (UTC)
 * I tested this on both Java and Bedrock editions; a bow with the Punch enchantment actually knocks back an iron golem in Java Edition, though in Bedrock Edition it still doesn't receive knockback PinksheepyIsLeaving (talk) 01:48, 31 May 2021 (UTC)