Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.1
1.20.1
Platforms
Supported environments
Server-side
Singleplayer
Links
Tags
Creators
Details
Licensed CC-BY-ND-4.0
Published 4 days ago
Updated 7 hours ago
In vanilla Minecraft, Iron Golems are sooooo bad at protecting villagers. This mod overhauls how golems choose their targets and how far they reach for targets, making them actively defend villagers from danger instead of getting distracted by random mobs, or not acting at all.
Features
- Golems have a new climbing animation that let's them traverse higher obstacles.
- Golems receive distress signals from villagers, then proceed to attack what's hurting them.
- Range of mob detection (due to sos by villager) is higher than vanilla.
- Mobs that don't attack villagers (like spiders or skeletons) aren't targeted by golems.
- Mobs that are not a threat, such as zombies stuck in pits or caves, are not targeted by golems.
- Golems will not wander inside places they can't get out of, unless a villager in danger is inside too.
- Paths are calculated in the background on a separate thread, so large search ranges don't lag the main thread.
- If the village is safe, golems fall back to normal vanilla behavior (wandering, handing out roses, and patrolling).
- Golems have red eyes when pursuing their victim.
Showcase & Comparisons with vanilla:
- [OPTIONAL] Golems can swing their arms to climb > 1 blocks (only if villagers are in danger):
- Golems don't go in unrecoverable spots, at most they fight from rims:
Spoiler
- Golem can leap in unrecoverable spots to save villagers:
Spoiler
- Golems rush to save villagers far away:
Spoiler
How It Works
- Golems continuously (async, off-thread and fast) scan their surroundings to check for places they shouldn't go in, such as 2 blocks deep pits, caves or deep water.
- When a villager is attacked or panics, they broadcast an instant SOS signal to all golems within a 48-block (configurable) radius.
- Golems evaluate safe paths off-thread to avoid lag. They can drop down cliffs up to 32 blocks (configurable) and leap into dangerous places to save villagers.
- Golems gain a +20% sprint speed boost (configurable) during active rescues, keep pursuing up to 10 blocks past the scan radius.
- If a monster is trapped in a pit or dangerous place, and villagers are not at risk, the golems will hit the mobs from the edge of the pit, or outright disengage.
- Golem disengages when the target is lost or dead.
Disclaimer
I did extensive testing and I have a lot of debug flags just for that. However, AI in video games and especially minecraft is a notoriously difficult endeavor, so please, if you find bugs, report them and I will quickly fix them.


