promotional bannermobile promotional banner

Minecolonies Iron's Integration

Integration mod between MineColonies and Iron's Spells 'n Spellbooks & Iron's Arms 'n Artifice for Minecraft 1.21.1 (NeoForge).
Back to Files

minecolonies_irons-1.0.1.jar

File nameminecolonies_irons-1.0.1.jar
Uploader
JPanOuJPanOu
Uploaded
Nov 12, 2026
Downloads
28
Size
67.6 KB
Mod Loaders
NeoForge
File ID
9574563
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:minecolonies-irons-integration-1778258:9574563"

Learn more about Curse Maven

What's new

Changelog - Minecolonies Iron's Integration

[1.0.1] - Compatibility & Soft Dependency Update

Added

  • Tag Bridging for Gun Tools: Added #minecolonies_tweaks:custom_tools/gun with Iron's Artifice firearms (flintlock, musket, blunderbuss, arquebus, six_shooter, clockwork_repeater, clockwork_rifle, flintlock_scattershot) marked as required: false.
  • Independent Barracks Tower Modules: Added dedicated module producers irons_gunner_barracks_work and irons_mage_barracks_work supporting citizen recruitment scaling with building level (b.getBuildingLevel()).

Changed

  • Renamed Guard Building Module Keys: Changed Guard Tower module producer keys from generic gunner_tower_work and mage_tower_work to irons_gunner_tower_work and irons_mage_tower_work.
    • Reason: Prevents collisions with MineColonies_Compatibility (which also registers gunner_tower_work), allowing both mods to register gunners in the same colony without overwriting each other.
  • Differentiated GUI Buttons: Updated translation keys in en_us.json and th_th.json:
    • English: Iron's Gunner and Iron's Mage
    • Thai: พลปืนอาร์ติไฟซ์ (Iron's Gunner) and จอมเวท (Iron's Mage)
  • Cleaned Namespace Fallbacks: Removed root com.minecolonies.job.gunner override to prevent clashing with generic MineColonies or compat addon job titles.

Compatibility & Standalone Safety

  • Soft Dependency / Dynamic Module Loading:
    • irons_spellbooks and irons_artifice modules are now verified via ModList.get().isLoaded(...) before injecting their respective modules into Guard Towers and Barracks Towers.
    • Isolated ISpellContainer API calls behind a lazy-loaded static helper class. If irons_spellbooks is absent, the JVM never triggers class resolution, preventing NoClassDefFoundError.
    • If a player installs the mod with ONLY Iron's Spells (without Artifice), or ONLY Iron's Artifice (without Spells), or without minecolonies_compatibility, the game loads and runs stably without crashing.

This mod has no additional files