Skip to content

v0.9.1 — server crash fix + localisation phrasebook

Choose a tag to compare

@Hoggormino Hoggormino released this 30 May 09:57
· 185 commits to main since this release

Iron's Spells: Incantation 0.9.1

Two community-reported issues addressed.

Fixed

  • Dedicated server crash on mod load. The Simple Voice Chat plugin loader instantiates @ForgeVoicechatPlugin classes on both client and server. Incantation's SVC plugin (and a couple of common-side helpers) statically referenced client-only classes, so the JVM verifier pulled the Minecraft GUI chain in on the server side → NoClassDefFoundError → crash. Plugin, SpellIndex, and the config's theme cache now route those references through Consumer / Supplier / Runnable sinks wired from ClientEvents.bootstrap(), so common code never link-references the GUI chain.
    • Thanks to xxshadow007 for the report.

Added

  • config/voicespells/phrasebook.json for bulk-translation. Auto-generated on first launch with one entry per installed spell:

    {
      "spells": {
        "irons_spellbooks:fireball": { "default": "fireball", "override": "" }
      }
    }

    Set the override value to whatever you want to say for that spell; leave it empty to use the English default. New spells installed later are appended automatically, and your existing overrides survive reindexes and addon uninstalls.

    Vosk only recognises words from the loaded model's lexicon, so non-English overrides need a same-language Vosk model — install one from https://alphacephei.com/vosk/models and point modelPath at it in voicespells-client.toml.

    • Thanks to NeoTargetStudios for the request.

Installation

Drop incantation-0.9.1.jar into your mods/ folder alongside Simple Voice Chat 2.5.x+ and Iron's Spells 'n Spellbooks 3.x+. No config migration needed — voicespells-client.toml is unchanged from 0.9.0.