minecolonies_irons-1.0.2-hotfix.jar
Curse Maven Snippet
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
AbstractBuildingMixinto 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
EntityAIMagewith dedicated Mage Robe requests, ensuring colony couriers and warehouses supply only Iron's Spells magic robes.
- Mages now strictly require magic robes from Iron's Spells 'n Spellbooks (
- 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).
- 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:
- 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.setso 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 <= maxLevelrequest matching failure when players equip higher-tier (e.g. Netherite Battlemage, Pyromancer) or enchanted robes into a Level 1 Guard Tower citizen.
- Hooked into
- 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.
- Added continuous satisfaction checks (
- 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
ContainerCitizenInventoryArmorSlotMixinto 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.
- Added missing
- Dual-Layer Research Tree Validation:
- Added direct fallback checking against
colony.getResearchManager().hasCompletedResearch()alongsideResearchEffectManager.getEffectStrength()to guarantee immediate tier unlocks upon research completion.
- Added direct fallback checking against
- Boots of Speed Item Recognition:
- Fixed registry name matching for
irons_spellbooks:boots_of_speedin robe slot validation and tier calculation, allowing Mages to properly equip and utilize it as Tier 2 footwear.
- Fixed registry name matching for
- 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.
- Fixed innate spell tier unlocking in
This mod has no additional files