MCA: Kingdoms 0.4.2 (Forge 1.20.1)
Curse Maven Snippet
What's new
0.4.2 — 2026-12-06 (hardening & Runecraft RPG compatibility)
Fixes bugs, edge cases, and UI/network inconsistencies across all systems while broadening compatibility with the
Runecraft RPG modpack and newer optional companion releases. Saves, config schemas, and the dev.otectus.mcakingdoms.api.*
surface remain backwards-compatible with 0.4.1 (protocol bumped cleanly alongside updated companion/locale keys).
Runecraft RPG & Companion Compatibility
- Open optional companion ranges: Changed upper-bounded metadata ranges in
mods.toml(mca,townstead,recruits,workers,mcaquests) to lower-bound-only ([7.6,),[0.7.6,),[1.15.2,),[2.1.0,),[1.6.5,)) so newer companion updates such as MCA Quests1.9.2, MCA: Crime0.9.0, MCA Conversations1.8.6, and MCA Reputation0.6.5launch without Forge metadata blocks while every adapter continues to probe API members safely and fail closed. - Runic progression probes: Broadened reflective member/class probes in
ProgressionBridgefor newer Runic Skills, Runic Gods, and Runic Races builds alongside Runecraft RPG pack versions. - Numismatic Overhaul purse integration (
compat/currency/NumismaticPurseBridge): Player tax payments, strongbox deposits, market stall purchases, bail, debt seizures, and the new Kingdom Task Fund strongbox or treasury from purse (economy.fund_purse) now spend seamlessly from carried coin stacks first and the Numismatic Overhaul purse second—with dynamic bronze/silver/gold scaling so both bronze-standard (1:100:10000) and Runecraft's silver-standard (silver_coin = 1, gold_coin = 100) coin ladders convert accurately without overdrafts, rolling back inventory changes if a purse debit fails. MCACorpsesrevival & entity filtering (util/EntityFilters): Villager revival viaMCACorpsestransitionsDECEASEDresidents back toRESIDENTwith fresh sightings/census reconciliation, while ForgeFakePlayerinstances andMCAMobCompatibilityproxy/hostile entities are excluded from citizen tracking andnearby_npcpickers.- Containers & world custody (
realm/world/WorldContainers): Supports vanilla double chests (ChestBlock.getContainer) andForgeCapabilities.ITEM_HANDLERcontainers (such as Sophisticated Storage barrels/chests) while skipping Lootr per-player containers and lockedLocks Reforgedchests cleanly. - Safe placement & expanded worldgen datapacks (
util/SafeGround,data/mcakingdoms/): Spawning immigrants, returning travel parties, construction plot surveys, and prison exits verify solid ground and exclude lava, fire, magma, sweet berry bushes, cactus, and powder snow. Cavern/subterranean resource surveys scan beneath ceilings for Deepslate, Tuff, Blackstone, Basalt, End Stone, and Nether wart blocks; bundled biome tags, village structure tags, structure styles, and workstation production chains now coverRegions Unexplored,Traverse,Ars Nouveau,JNE,Deeper and Darker,Lio's Outlandish Villages,More Villagers,VillagersPlus, and modded sky/end/warped outposts.
Hardening & Bug Fixes
- Persistence & timing:
StoreWriterdelivers inline fallback completions cleanly after server stop;DurableSavedDatatracks submitted vs. durable generations so stale async write failures cannot re-dirty newer saves;RealmStorecaptures rollback points prior to mutatingapplied;KingdomsTiming.bucketCeilingsaturates toLong.MAX_VALUEwithout 64-bit sign overflow;SuccessionLaw,NobleRank,DevelopmentTemplate, andWorldContextDefinitionscaches clear cleanly on server stop. - Economy & taxation:
FiscalModel.TaxpayerrecordsnextPeriodAtso reopening a closed stall or residence resumes future billing cleanly without double-charging missed closed periods or shedding prior arrears;CustodyServicewithdrawals respect exact change/capacity andMarketServicerefunds partial failed purchases atomically. - Merges, war & politics:
RealmServicemigrates all 14 settlement-referenced sub-collections during settlement merges (including transfers, petitions, mind records, convoys, and expeditions);WarServicerecords defeat casualties reliably;GovernmentServicemigrates capital and local office scopes across settlement merges, expires stale regencies safely, rejects invalidREMOVE_OFFICE/self-protectorate/even-council-tie states, and aligns petition approval permissions (HONOR/PROPOSE/RECOGNIZE);ProtectionServiceenforces a 24,000-tick proposal window with explicitrejectandwithdrawsupport. - Client UI, interactions & networking:
InteractionNetworkpreserves optionalKind.CHOICEsteps with skip support;RealmTasksscopes own-store/bill/muster targets accurately;VillageLedgerScreenfixes kingdom picker alignment, pagination, and click debounce;HeraldryRendererfalls back cleanly on missing external crests;ClientStatefalls back to non-atomic moves when filesystems reject atomic replace; packet handlers guard negative deltas, clean up per-player caches on disconnect, and keep rate limits side-effect free;RealmViewssends structuredComponenttranslations rather than server-rendered strings.
This mod has no additional files