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.2-hotfix.jar

File nameminecolonies_irons-1.0.2-hotfix.jar
Uploader
JPanOuJPanOu
Uploaded
Nov 16, 2026
Downloads
12
Size
107.1 KB
Mod Loaders
NeoForge
File ID
9648435
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

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

Learn more about Curse Maven

What's new

[1.0.2-hotfix] - Mage Exclusive Robe Requirement, Instant GUI Request Overrule & Guard Tower Tier Binding

Added & Changed

  • Mage Exclusive Robe Requirement & Open Request Filter:
    • Mages now strictly require magic robes from Iron's Spells 'n Spellbooks (mage_helmet, mage_chestplate, mage_leggings, mage_boots).
    • Standard non-magic vanilla/metal armor (leather, iron, diamond, netherite) is completely rejected by Mages with an equipment score of 0.
    • Intercepted request creation in AbstractBuildingMixin to block any vanilla armor or shield requests generated for Mages at the source.
    • Automatically purges and cancels any pre-existing open vanilla armor requests for Mages in the colony Request Manager.
    • Replaced vanilla armor requests in EntityAIMage with dedicated Mage Robe requests, ensuring colony couriers and warehouses supply only Iron's Spells magic robes.
  • Guard Tower Level Tier Binding:
    • Decoupled weapon and armor tiers from University Research. Gear tiers are now bound directly to the Guard Tower building level, matching standard MineColonies guard progression:
      • Mage: Guard Tower Lv 1–5 allows Tier 1–5 spell tools and magic robes directly.
      • Gunner: Guard Tower Lv 1 allows Tier 1 pistols, Lv 2–3 allows Tier 2 longarms (Musket, Blunderbuss), Lv 4–5 allows Tier 3 heavy firearms (Arquebus, Clockwork Rifle).
  • Gunner Ammo Conservation (Munitions Efficiency):
    • Gunner Armory 2: Grants Gunners a 25% chance to not consume ammunition when firing.
    • Gunner Armory 3: Increases Gunner ammo conservation chance to 50% when firing.
    • When conservation procs, the fired bullet is preserved in the gun chamber/magazine without depleting citizen ammunition.

Fixed

  • Instant GUI Armor Placement Overrule (ContainerCitizenInventory):
    • Hooked into ContainerCitizenInventory$2.set so that placing or shift-clicking an arcane robe into a Mage's inventory armor slot immediately fulfills and cancels any open request for that armor slot on the spot.
    • Fixes vanilla MineColonies strict level <= maxLevel request matching failure when players equip higher-tier (e.g. Netherite Battlemage, Pyromancer) or enchanted robes into a Level 1 Guard Tower citizen.
  • Active Post & Patrol Open Request Purging:
    • Added continuous satisfaction checks (checkAndCancelSatisfiedRobeRequests) to active Mage routines (guardMovement, updateRenderMetaData, equipInventoryArmor, cleanVisibleSlots).
    • Ensures open requests are resolved even when guards are stationed on high towers or patrolling far beyond the 7-block hut center radius.
  • Mage Magic Robe Equip & GUI Slot Validation:
    • Fixed an issue where Mage citizens were unable to equip Iron's Spells magic robes even after completing all University researches.
    • Implemented ContainerCitizenInventoryArmorSlotMixin to allow players to manually place or shift-click magic robes and armor into a Mage's inventory slots up to their unlocked tier.
    • Ensured non-Mage guards and civilians remain strictly restricted from equipping arcane robes.
  • University Research Effect Data Definitions:
    • Added missing levels: [1.0] definition across all 18 Mage and Gunner research effect JSON files.
    • Resolved an issue in MineColonies where research effects without explicit levels were discarded at startup with a maximum level of 0, causing getEffectStrength() to always return 0.
  • Dual-Layer Research Tree Validation:
    • Added direct fallback checking against colony.getResearchManager().hasCompletedResearch() alongside ResearchEffectManager.getEffectStrength() to guarantee immediate tier unlocks upon research completion.
  • Boots of Speed Item Recognition:
    • Fixed registry name matching for irons_spellbooks:boots_of_speed in robe slot validation and tier calculation, allowing Mages to properly equip and utilize it as Tier 2 footwear.
  • Gunner Research Progression & Combat AI Perks:
    • Synchronized Gunner firearm tier checks, bullet damage bonuses (+10% to +40%), recoil compensation, and speedloader reload buffs with the fixed research system.
  • Mage Innate Spell Progression:
    • Fixed innate spell tier unlocking in MageCombatAI, allowing Mages to correctly progress from Tier 1 up to Tier 5 spells as their Armory researches complete.

This mod has no additional files