v0.9.1 — server crash fix + localisation phrasebook
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
@ForgeVoicechatPluginclasses 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 throughConsumer/Supplier/Runnablesinks wired fromClientEvents.bootstrap(), so common code never link-references the GUI chain.- Thanks to xxshadow007 for the report.
Added
-
config/voicespells/phrasebook.jsonfor bulk-translation. Auto-generated on first launch with one entry per installed spell:{ "spells": { "irons_spellbooks:fireball": { "default": "fireball", "override": "" } } }Set the
overridevalue 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
modelPathat it invoicespells-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.