Savaru's Mana 1.5.0 (Fabric 1.21.1)
Curse Maven Snippet
What's new
Savaru's Mana 1.5.0
Fixed
Spells priced in anything other than a rune were never taken over. The check for "is this a spell mana should pay for" looked for the word rune in the cost item's id, which covered the Runes mod but missed every class mod that names its reagent differently. In this pack that left 27 spells — the elemental casters' terra, storm and aqua stones — still demanding physical stones while everything else drew on mana.
Which costs mana takes over is now a list in
config/savaru_mana/spell_costs.jsonrather than a rule in code, because every class mod invents its own reagent and the next one will be named differently again:
"mana_paid_items": [ "runes:*", "more_rpg_classes:*_stone", "*:*_rune", "*:mana*" ],
"never_mana_paid": [ "*arrow*", "*bullet*", "artificers:trap" ]
* matches any run of characters, and the never-list is checked first. Adding support for a new
class mod is one line, with no update needed here.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

