Iron's Spells x Sable Compat
compatibility patch until Iron's Spells 'n Spellbooks or Sable officially
integrates Sable Companion support.
Fixes all spells exept portal frames, they don't crash but disconnect if the physics are toggled, and only work to get in the contraptions not off them.
Tested Versions
Mod Version
Iron's Spells 'n Spellbooks 3.15.6
Sable 1.2.2
⚠️ Do NOT auto-update Iron's or Sable. This mod uses Mixins that target
specific internal methods. If either mod changes its internals, mixins may
fail to apply, targeting may break, or server startup may crash.
Fragility Assumptions
This mod assumes:
Sable Companion APIs (`SableCompanion.INSTANCE.projectOutOfSubLevel`, `getContaining`, `SubLevelAccess.logicalPose()`) exist and behave as documented
Iron's Spells internals (`Utils.handleSpellTeleport`, `Utils.hasLineOfSight`, `PortalSpell.handleEntityPortal`, `PortalEntity.lambda$checkForEntitiesToTeleport$1`, `PortalFrameBlockEntity.serverTick`, `TouchDigSpell.onCast`, `RaycastBuilder.performRaycast`, `ShadowSlashSpell.onCast`) remain stable at the method-signature level
Mixin targets (method names, parameter types, invoke targets) remain unchanged
If either mod updates aggressively:
❌ Mixins may fail to apply (crash at startup)
❌ Method targeting may break (silent misbehavior)
❌ Server startup may crash with `MixinApplyError`
Disclaimer
Generated with AI assistance (Claude, Anthropic)
Not affiliated with iron431 (Iron's Spells) or ryanhcode (Sable)
This mod will become obsolete once Iron's Spells or Sable ships an official fix How to Install Iron's Sable compat (Mod)
Iron's Sable compat by lutatano is verified for Neoforge across Minecraft versions 1.21.1 (latest release: 1.0.5, file size: 64 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.1) and platform (Neoforge).
- Make sure you have the compatible loader or environment installed for Neoforge.
- Move the downloaded Iron's Sable compat file into your Minecraft
.minecraft/modsfolder and launch the game.