You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XiFengXiaoYun edited this page Nov 17, 2026
·
3 revisions
Crafttweaker Compat
This allows you add custom materials to make magic focus.
Usage:
#loader preinit
The "#loader preinit" annotation is from contenttweaker, and is necessary.
mods.tinkerswizardry.Materials.addMagicStats(String matID, int manaCapacity, float spellPotency)
e.g.mods.tinkerswizardry.Materials.addMagicStats("stone", 100, 1.0f);
This example allows stone to be make a magic focus, with 100 mana capacity and 1.0 spell potency