ModsFinder

Mana Lib

by Ryukazan

Mana Lib is a NeoForge library that gives other mods a shared mana bar and mana data, so magic systems do not need to build their own.

NeoForgeClient and serverGNU Lesser General Public License v3.0 onlyOpen source1.21.8

What it does

Mana Lib draws a mana bar above the hunger bar, styled to match the vanilla interface, and adjusts its placement when the game's UI scale changes. The mana pool is stored directly on the player entity as standard NBT tags, and the values persist through logins with little overhead in the game loop. Players and mod authors can read or change the value with vanilla commands such as /data, or with external tools.

The library handles the backend work: storing, rendering and syncing mana, so a mod built on it can focus on spells, abilities and items. It is aimed at developers creating magic content, at server administrators who want custom items or command block systems in adventure maps, and at modpacks that need several magic mods to share one mana system. Mana Lib works with Native UI Integration. The mod is open source under the GNU Lesser General Public License v3.0 only, and has a source code repository, an issue tracker and a wiki. Files target 1.21.8 only, with NeoForge 1.0.0 published on 2025-12-07.

Key features

  1. Mana bar above hunger

    A clean mana bar is drawn above the hunger bar without manual layout work.

  2. Customizable display

    The bar's appearance can be adjusted, so it can be restyled to suit a modpack.

  3. NBT-based mana data

    Mana values are saved in the player's NBT tags and survive logins.

  4. Shared mana for other mods

    Provides a standardized data structure and visual interface that other mods can use to implement spells and abilities.

Compatibility

Latest build for each game version and loader.

1.21.81.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Magic mod development

Developers can build spells and abilities on the shared mana pool instead of writing their own UI and sync code.

Command block and adventure maps

Server administrators can change mana with vanilla commands to power custom items and command block systems.

Who it’s for: Mod developers building magic content, server administrators, and modpack authors who want several magic mods to use one mana bar and data model.

How it compares

Full comparison

Magic And More is a NeoForge mod for 1.21.4 under the MIT License, and it is not open source. Spells & Shields is open source under the MIT License and also supports Forge, with files for 1.18.2 – 1.21.1. Mana Lib is open source under the GNU Lesser General Public License v3.0 only and targets 1.21.8 only, so the versions do not overlap.

ModLoadersGame versionsEnvironmentUpdated
Mana LibNeoForge1.21.8Client and server2025-12-07
Magic And MoreNeoForge1.21.4Client and server2025-11-25
Spells & ShieldsForge and NeoForge1.18.2 – 1.21.1Client and server2026-08-08

Questions

Does Mana Lib need another mod to run?

No required dependency is listed for NeoForge. Mana Lib runs on NeoForge for 1.21.8.

Does a server need Mana Lib installed?

Yes. Installation covers the server and each player's game.

Can server administrators change a player's mana without a mod?

Yes. Mana is stored in the player's NBT, so vanilla commands such as /data can read and modify it.

In the catalog

Mana Lib is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 17,695 mods support Minecraft 1.21.8.

Similar mods

What the author says

Mana Lib is a lightweight foundational library designed to standardize mana systems in Minecraft. It introduces a clean, vanilla-style Mana Bar displayed directly above the player's hunger bar. While this mod functions out of the box to display a mana pool, it is primarily designed as an API and Library for mod…
Ryukazan, on the Modrinth page

Official listing

Owner
Ryukazan
Published
2025-12-06
Updated on Modrinth
2025-12-07
Facts verified
2026-10-15

Tags