Page title: TONI's Magic Lib: The Shared Spell Engine for Magic Mods

Meta description: TONI's Magic Lib powers spell mods for Minecraft with wands, tomes, mana and spellcasting mobs. Download TONI's Magic Lib to unite your magic pack.

TONI's Magic Lib

If you have ever installed a magic mod only to watch it refuse to load because something was missing, you already understand why libraries exist. TONI's Magic Lib is exactly that kind of add-on: a foundation, not a feature pack. On its own it adds nothing you can see in the world, and that is by design. Install it when another mod asks for it, and suddenly every TONI's magic mod on your list speaks the same language.

Think of it as the wiring behind the wall. You never notice it until a light switch works perfectly across every room in the house. This library gives magic mods one shared system for spells, mana, wands, tomes, spell projectiles, sides and spellcasting mobs, so each mod built on top of it behaves consistently and cooperates with the rest.

What TONI's Magic Lib Actually Provides

Because the library is invisible in normal play, it helps to know what it is doing behind the scenes. The core pieces include:

  • Spell registry: every spell is registered with an id such as mymod:fireball, along with a mana cost, cooldown, colour, minimum wand tier and a cast action. Mob-only spells are supported as well.
  • Wands and staffs: each wand carries a tier that sets spell power, its own mana pool that refills while carried and shows as a blue bar, the spells inscribed in it and the currently selected spell. Right-click casts, and sneak plus right-click switches spells.
  • Spell tomes: hold a tome in one hand and a wand in the other, and the tome inscribes its spell into the wand.
  • Mana potions: a single potion refills every wand the player is carrying.
  • Spell orbs: one glowing projectile entity serves every projectile spell, with pluggable behaviours and ready-made options like a homing arcane bolt, a fireball and an explosive meteor.
  • Ready-made spell effects: projectile, frost nova, lightning, blink, heal, shield, life drain, meteor rain and raise dead. A whole spell is often just one line of code.

Sides, Allies and Spellcaster Mobs

The library also defines a light side and a dark side. Players, villagers, iron golems, pets and good casters sit on one side, while dark casters and their minions sit on the other. Spells never hurt allies, and area spells only strike foes, never animals. Spellcaster mobs come with a side, variants, a staff in hand and a synced casting state with coloured sparks, plus AI goals that keep distance while casting and heal wounded allies.

For pack authors and server owners, the config file at config/tonimagic.properties controls mana refill speed and spell damage multipliers for players and mobs, and those settings apply to every mod using the library. Commands are handy too: /tonimagic spells lists every registered spell, while /tonimagic fill and /tonimagic learnall refill or teach the wand in your hand. English and Spanish are both supported.

Minecraft Versions and Loader Support

TONI's Magic Lib currently targets NeoForge on Minecraft 1.21.1, with additional versions planned. Before you download TONI's Magic Lib, confirm that your game build and loader match the file you are grabbing, and remember that TONI's Core Lib is a required dependency. Loading the library without its core will simply not work, and neither will the magic mods that depend on it.

Keeping dependencies aligned is where many packs break, which is why the foxygame.net launcher is worth a look: it resolves requirements like TONI's Magic Lib automatically and keeps every add-on updated, so version mismatches stop being your problem.

How to Install TONI's Magic Lib

Installing a library is quick once your folders are in order. Here is the routine:

  • Install NeoForge for Minecraft 1.21.1 and run the game once so the mods folder is generated.
  • Download TONI's Core Lib first, since the magic library depends on it.
  • Place both jar files into the mods folder without unpacking them.
  • Launch the game and check that both mods appear in the mod list without errors.

If you prefer to skip manual file handling, a launcher with a built-in add-on catalog can handle the whole process in one click. Either way, once the library loads cleanly you can add any TONI's magic mod and expect wands, tomes, mana bars and spellcaster mobs to behave exactly the same way across the board.

Why It Matters for Modders and Players

For players, the payoff is consistency: one mana system, one wand control scheme, one set of rules about who gets hurt by a fireball. For modders, the payoff is speed. Registering a spell takes a single statement with mana, cooldown, colour, orb behaviour and cast effect chained together, and language entries come from simple keys like spell.mymod.fireball and its description counterpart. The API packages cover spells, casting, entities and items, so new content slots into the same framework instead of reinventing it.

TONI's Magic Lib for Minecraft is not the kind of add-on you admire in a screenshot. It is the quiet infrastructure that makes an entire family of magic mods feel like one coherent game. Install it when something asks for it, keep it updated alongside its core dependency, and your spell-slinging adventures will run smoothly from the first wand wave to the last meteor.