An iron golem summoned by command behaves like a village-built one: it patrols, offers poppies to villagers, and swings for enormous knockback that launches hostile mobs into the air. That baseline makes /summon iron_golem the standard pick for gate guards, arena minibosses, and defense-wave events in adventure maps.
The generator layers your NBT on top. Push customHealth past the default 100 for a boss that survives a full raid, set invulnerable and no_ai to turn a golem into a plaza statue, or add glowing plus a visible name so players can track their escort through a dark fortress.
Golem cracks do the health-bar work for free: as damage accumulates the texture shows progressively heavier cracking, so a boss golem telegraphs how the fight is going without any scoreboard display.
Arena boss golem
/summon minecraft:iron_golem ~ ~ ~ {PersistenceRequired:1b,CustomName:"Forge Warden",CustomNameVisible:1b,Health:300f,attributes:[{id:"minecraft:max_health",base:300}]}Triple health plus a visible boss name; the crack overlays still fire at the same percentage thresholds, so players read the fight state.
Plaza statue
/summon minecraft:iron_golem ~ ~ ~ {NoAI:1b,Invulnerable:1b,Silent:1b}A monument-scale centerpiece that cannot be knocked around, damaged, or baited into a patrol.
Glowing night patrol
/summon minecraft:iron_golem ~ ~ ~ {Glowing:1b,PersistenceRequired:1b}The outline keeps the village defender visible while it works the perimeter after dark.
Villager rescue escort
/summon minecraft:iron_golem ~ ~ ~ {Passengers:[{id:"minecraft:villager"}]}The villager rides the golem out of danger — a ready-made escort objective for a raid-defense map.
Not unprovoked. It counts as a natural golem, so it retaliates if you hit it and can turn hostile to players with very low villager reputation, but it otherwise ignores you.
Default is 100. Around 250-300 suits a solo player with iron-tier gear; the crack overlays scale with the new maximum, so the fight still telegraphs progress.
Yes — any player holding an iron ingot can use it on the golem for 25 health, which makes escort golems repairable between waves.
Loading the workbench…