Iron's Spells 'n Spellbooks-Aeronautics Compatibility

Iron's Spells x Sable Compat Compatibility patch for Iron's Spells 'n Spellbooks and Create Aeronautics on NeoForge 1.21.1. Fixes teleport spells and portals breaking when used on or near assembled ships.

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

The Iron's Spells 'n Spellbooks-Aeronautics Compatibility Team

profile avatar
Owner
  • 1
    Projects
  • 49.5K
    Downloads