Minecraft wiki entry for Combat, associated text: In Bedrock Edition, iron golems spawn in villages containing 10 or more villagers and at least 21 houses (counted as beds), while in Java Edition, iron golems spawn when villagers gossip about golems. They do massive damage and have high health (100 × 50 health points), and they throw players into the air, doing even more damage when they land, so it is advised to use a diamond sword or a very highly enchanted iron sword to engage them. The player can also use cactus to kill it, if they can get the iron golem to walk into the cactus either by provoking it or placing the cactus in its path. If they can figure out which area of the village spawns iron golems, an iron/poppy farm can be created. Bows are effective, as iron golems are extremely deadly at hand-to-hand combat. However, they have a lot of health, so attacks will take pretty long. Alternatively, if the player has 5 or so tamed wolves, hit the golem and run away. The dogs will see it as hostile and finish the job. The player is unlikely to lose more than one or two.