Runecraft Core
Runecraft Core: Compatibility
MC 1.20.1Forge~4 min read
On this page (5)
Runecraft Core is built so every integration activates only when its target mods are installed, making it safe in both the full Runecraft RPG modpack and trimmed test instances.
Client, server, and network sync
- Handshake flag:
META-INF/mods.tomlsetsdisplayTest="IGNORE_ALL_VERSION", andrunecraftcore:selection_bridge(protocol2) usesNetworkRegistry.acceptMissingOr("2")on both client and server. An unmodded client is not kicked when connecting to a server with Runecraft Core, and vice versa. - Recommended install: Install Runecraft Core on both the dedicated server and all clients whenever using the full modpack:
- Without Runecraft Core on the client: MCA Destiny will not wait for Origins/Roots confirmation (
bridgeActive()returnsfalse), non-Villager MCA player styles will not render Townstead Root proportions or hide host skins under alternate body rigs,Runecraft TexturesUI toggles will not run, Origins GUI+ starter equipment previews will be absent, and client-side texture/eye/bossbar fixes will not apply. - Dedicated servers stay safe: Client-only classes live under
com.runecraftcore.client/mixin.clientand are gated behindFMLEnvironment.dist == Dist.CLIENT(RunecraftCore.java) or Mixin’s"client"list (runecraftcore.mixins.json).
- Without Runecraft Core on the client: MCA Destiny will not wait for Origins/Roots confirmation (
Conditional mixin plugin & MixinSquared
RunecraftCoreMixinPlugin
Compatibility mixins under mixin.compat.<modid> and mixin.client.compat.<modid> are gated automatically:
- Every package segment between
compat.and the mixin class name is checked againstLoadingModList.get().getModFileById(modId):- Single-mod mixins (e.g.,
compat.lycanitesmobs.SpawnerMixin) requirelycanitesmobs. - Multi-mod mixins (e.g.,
compat.numismaticoverhaul.mca.McaHireCoinsMixinorcompat.origins.mca.runic_races.townstead.*) require all listed mod IDs in the package path. - Special partner rule (
EXTRA_MODS):tidemixins also requireapothic_fishing.
- Single-mod mixins (e.g.,
- Dedicated server ASM strip (
preApply): removessupplyRendererfromWardenMageArmorItemMixin‘s target class on dedicated servers (FMLLoader.getDist().isDedicatedServer()).
NumismaticCodecCanceller (MixinSquared)
Registered via META-INF/services/com.bawnorton.mixinsquared.api.MixinCanceller:
- When MixinSquared is present (bundled by mods such as AllTheLeaks, Moonlight, or Supplementaries) and either
runicskillsorbiggerstacksis loaded, Runecraft Core cancels three of Numismatic Overhaul’sninetyninepacket/NBT item-count codec mixins:tallestred.numismaticoverhaul.mixin.ninetynine.ItemStackMixintallestred.numismaticoverhaul.mixin.ninetynine.FriendlyByteBufMixintallestred.numismaticoverhaul.mixin.ninetynine.ServerGamePacketListenerImplMixin
- This avoids duplicate
@Redirectcrashes at startup and wire-protocol corruption while leaving Numismatic’s 99-coin container/slot stacking mixins active.
Mod compatibility & stability fixes matrix
In addition to the gameplay systems covered in the player guides, Runecraft Core resolves startup crashes, server deadlocks, log spam, and visual bugs across these mods:
| Target mod(s) | Issue fixed | Runecraft Core handler |
|---|---|---|
Goblins Tyranny + Majrusz’s Accessories |
Worldgen deadlock when Goblins Tyranny rolls furnace loot on a worldgen worker thread while loot conditions (such as Swimmer’s Guide) query the live ServerLevel |
ContainerLootProcessorMixin marks ForgeData (RunecraftCoreDeferredLoot, RunecraftCoreDeferredLootSeed) during worldgen; DeferredContainerLoot rolls and fills slot 1 (fuel) / slot 0 (other items) on the server thread once the chunk loads (/place and structure blocks keep immediate filling) |
Majrusz Library |
Worldgen worker threads calling BlockHelper.getState / getEntity against the live ServerLevel (for example during Darker/Otherside crystallized amber fossil loot rolls) deadlock the server |
BlockHelperMixin + OffThreadLevelReads return AIR and null block entity whenever !server.getServer().isSameThread() |
Epic Knights: Ice and Fire + Epic Knights: Addon |
Both mods registered Cloth AutoConfig under epicknightsaddon, racing on config/epicknightsaddon/*.json5 at startup and wiping configs to {} |
EpicKnightsIceAndFireConfigMixin + EpicKnightsConfigName dynamically rename com.magistuarmory.iceandfire.config.AddonConfig to epicknightsiceandfire, moving its files to config/epicknightsiceandfire/ |
Deeper & Darker: Spellbooks |
WardenMageArmorItem overrides supplyRenderer() without @OnlyIn(Dist.CLIENT), crashing dedicated servers on item registration |
WardenMageArmorItemMixin + RunecraftCoreMixinPlugin.preApply strip supplyRenderer on dedicated servers; clients are untouched |
Saints’ Dragons + MCA Reborn |
Saints’ Dragons’ DialogueReloadListener parsed every JSON under data/<namespace>/dialogues/, throwing JsonSyntaxException stack traces across 1,182+ MCA villager dialogue files on load and /reload |
DialogueReloadListenerMixin filters out any dialogue JSON lacking a "nodes" object before Saints’ Dragons parses it |
Arda’s Sculks ( sculks_of_arda) |
Unused 1536x1024 skybox sprites (aoz8plgz, csky, plus particle/ and mob_effect/ copies) and 528x588 item/3ditemsculkgrassflowers inflated block, particle, and mob-effect texture atlases |
SpriteResourceLoaderMixin excludes those 7 unused sprite IDs during atlas stitching (csky.png is still bound directly by SkyBoxProcedure without needing atlas space) |
Animated resource/mod textures |
.mcmeta animations listing frame indices beyond the sprite’s actual frame count logged "Invalid frame index" and lost end-frame holds |
SpriteContentsMixin treats 1-frame sprites as static and clamps out-of-range high indices to the last valid frame (frames - 1) |
ParCool / broken mod loads |
When a prior mod failed to load and Forge skipped RegisterLayerDefinitions, EntityRenderDispatcher crashed building player/entity renderers and hid Forge’s real error screen |
EntityRenderDispatcherMixin catches renderer creation exceptions only when !ModLoader.isLoadingStateValid(), letting Forge display the real mod-loading error |
Ice and Fire |
LayerDragonEyes looked up *_Ground Tabula models while the JAR ships *_ground, throwing stack traces and leaving dragon eyes unlit |
LayerDragonEyesMixin rewrites _Ground to _ground in loadTabulaModel paths |
Lithostitched / IVP + MCA Reborn |
Lithostitched’s set_structure_spawn_condition rebound registry Holders without updating MappedRegistry.toId, causing getId to return -1 for IVP villages |
MappedRegistryMixin resolves byValue -> byId.indexOf(holder) when toId misses |
SmoothChunk + aliased workstations |
Replaced workstation POIs (such as Immersive workstations) weren’t recognized by PoiType#is / matchingStates, causing SmoothChunk’s POI repair pass to strip them |
PoiTypeMixin + WorkstationPois expose registered alias BlockStates through is and matchingStates without mutating record fields |
Structure sets (Cataclysm / Nova, etc.) |
Multiple modded structure_set files with copy-pasted identical salts rolled identical chunk coordinates |
StructureSaltDeduplicator preserves minecraft:* salts and reassigns colliding modded salts to deterministic positive 31-bit hashes on ServerAboutToStartEvent |
Villager Trading Plus + Numismatic Overhaul |
VTP attempted to parse numismaticoverhaul:* villager trade JSONs, spamming ~400 warnings per load |
VtpTradeListenerMixin filters numismaticoverhaul keys out of VTP’s TradeOfferResourceListener map |