promotional bannermobile promotional banner

Dreamcraft Network's Iron Golems Survive

Iron golems regenerate at a rate to increase survival chances for the village.
Back to Files

dreamcraftnetworkirongolemsregen-1.2-1.20.1-Beta.jar

File namedreamcraftnetworkirongolemsregen-1.2-1.20.1-Beta.jar
Uploaded
Feb 8, 2026
Downloads
276
Size
81.2 KB
Mod Loaders
Forge
File ID
7593366
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:iron-golems-survive-1454400:7593366")

Learn more aboutย Curse Maven

What's new

Features

๐Ÿ›ก๏ธ Automatic Golem Armoring

Armorer villagers will now actively seek out and equip unarmored Iron Golems within their vicinity. When an Armorer has an Iron Block in their inventory and detects a nearby golem without armor, they will:

  1. Pathfind to the Iron Golem
  2. Approach the golem within interaction range
  3. Equip the golem with iron armor using one Iron Block
  4. Celebrate with particle effects and sounds

๐Ÿ“ฆ Item Pickup System

Armorers can now collect Iron Blocks from the ground:

  • Automatically picks up Iron Blocks within a 3-block radius
  • Only picks up items when they don't already have an Iron Block
  • Plays pickup sound effects when collecting items
  • Checks every 20 ticks (1 second) for efficiency

๐Ÿค Player Interaction

Players can manually give Iron Blocks to Armorer villagers:

  • Right-click an Armorer while holding an Iron Block
  • The villager will accept the block if they don't already have one
  • The villager will play a confirmation sound
  • Works in both Survival and Creative mode
  • One Iron Block consumed per interaction (in Survival)

โš™๏ธ Configurable Behavior

All features are controlled through the mod's configuration file:

  • ARMORER_EQUIPS_GOLEMS - Enable/disable the entire feature
  • ARMORER_SEARCH_RADIUS - Set how far armorers search for golems
  • ARMORER_CHECK_INTERVAL - Control how often armorers look for golems

๐ŸŽฏ Smart AI Goals

The system integrates seamlessly with Minecraft's AI system:

  • Adds a custom goal to Armorer villagers when they spawn
  • Dynamically adds goals to existing Armorers that change profession
  • Respects vanilla AI priorities and behaviors
  • Won't interrupt critical tasks like fleeing from danger

Technical Details

Goal Priority

The Armorer equip goal is set at priority level 5, meaning:

  • Higher priority than idle behaviors (looking around, wandering)
  • Lower priority than survival behaviors (fleeing, panic)
  • Balanced to not interfere with normal villager routines

Search & Detection

  • Search Radius: Configurable (default typically 16-32 blocks)
  • Update Frequency: Checks every configured interval to prevent performance issues
  • Capability Detection: Uses the mod's armor capability system to detect equipped golems
  • Line of Sight: Not required - Armorers will pathfind around obstacles

Visual & Audio Feedback

When a golem is successfully equipped:

  • โœจ 10 Happy Villager particles spawn around the golem
  • ๐Ÿ”Š Armor equip sound plays from the golem
  • ๐Ÿ˜Š Villager "Yes" sound plays from the Armorer
  • ๐Ÿ“Š Golem stats updated via the GolemArmorHelper
  • ๐ŸŒ Synced to clients via network packet

Inventory Management

The system properly manages villager inventories:

  • Scans all 8 inventory slots for Iron Blocks
  • Removes exactly 1 Iron Block when equipping
  • Adds items to first available slot when picking up
  • Stacks with existing Iron Blocks if possible
  • Respects vanilla stack size limits

Version Compatibility

Ported from: Minecraft 1.20.1
Target Version: Minecraft 1.16.5 Forge

Major API Changes Handled

  • Goal system method names updated (canUse(), canContinueToUse(), etc.)
  • World accessor changes (level vs world, isClientSide vs isRemote)
  • Entity methods modernized (distance calculations, navigation, etc.)
  • Inventory system adapted for 1.16.5 API
  • Sound event names updated to 1.16.5 conventions

Use Cases

๐Ÿฐ Village Defense Enhancement

  • Villages with Armorers can automatically strengthen their Iron Golem defenders
  • Players can supply Iron Blocks to Armorers for autonomous golem upgrades
  • Creates a renewable system for maintaining armored golems

๐ŸŽฎ Gameplay Integration

  • Encourages players to establish iron farms near villages
  • Adds strategic value to Armorer villagers
  • Creates observable, emergent AI behavior that feels natural

๐Ÿ”ง Server-Friendly

  • Configurable check intervals prevent performance issues
  • Efficient entity searches with bounded areas
  • Server-side only logic with client synchronization
  • Debug logging can be monitored for troubleshooting

Configuration Options

text
ARMORER_EQUIPS_GOLEMS = true/false
# Master toggle for the entire feature

ARMORER_SEARCH_RADIUS = 16.0 (default example)
# How far Armorers look for golems (in blocks)

ARMORER_CHECK_INTERVAL = 100 (default example)
# How many ticks between searches (20 ticks = 1 second)

Future Expansion Possibilities

This system provides a foundation for:

  • Other villager professions performing specialized tasks
  • Multiple armor tier support (diamond, netherite)
  • Villager trading integration
  • Golem maintenance and repair behaviors
  • Cross-mod compatibility for custom golem types

This mod has no additional files