Iron Golem AI Overhaul
by MC_Ninja38 · 2026-01-15 · Data packs

Welcome to Iron Golem AI Overhaul What it does: This datapack massively improves Iron Golem AI. Specifically, it improves the Iron Golem's decison-making, when it comes to selecting a target How it works: -When an Iron Golem is first summoned, it will place a "golem_marker", if another one isn't already within 100 blocks of its position. If there is one available, the Iron Golem will "pair" with it - meaning that Iron Golem won't be able to place a new marker - even if it gets out of range of the nearest one. -Iron Golems will lock onto most hostile mobs that are directly exposed to the sky - including creepers within 80 blocks of their markers. Target priority is the closest hostile to the "golem_marker". NOTE: This does mean that creepers that hide under trees or overhangs will no longer be targeted, but once they expose themselves to the sky again, the Golems will lock onto them immediately. -Iron Golems will persist onto the same target up to 64 blocks away from their position. -Creepers that are targeted by Iron Golems will have their health decreased to 7 health, which ensures that targeted creepers will get one-shot by Iron Golems. This effect has been dubbed "Bane of the
