Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Details
Mana Lib
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 developers and server admins. It provides a standardized visual interface and data structure, allowing other mods to implement spells, abilities, and magic systems without needing to handle UI rendering or data syncing from scratch.

(Note: Image is taken in version 1.0.0)
✨ Features
- Native UI Integration: Renders a clean mana bar above the hunger bar, automatically adjusting to the game's UI scale.
- NBT-Driven Data: Mana values are stored directly on the player entity using standard NBT tags.
- Persistent & Lightweight: Data persists through logins and adds minimal overhead to the game loop.
- Modpack Friendly: Designed to act as a bridge between different magic mods or command-block systems.
🛠️ For Developers & Admins
Mana Lib handles the backend logic for rendering and syncing mana, allowing you to focus on creating content.
Because Mana Lib utilizes standard NBT data on the player entity, you can easily modify a player's mana using vanilla commands (like /data), external tools, or your own mod code. This is perfect for server admins creating custom items or command block adventure maps.
📦 Integration
You are free to include Mana Lib in any modpack. No special permission is required, though credit is always appreciated!
If you are a developer looking to integrate this into your mod, simply add Mana Lib as a dependency in your build.gradle and utilize the NBT tags provided to sync your magic system's values.
🐛 Issues & Support
If you encounter any rendering glitches or compatibility issues, please report them using the Issues tab at the top of this page.
- Source Code: GitHub Repository
- Community: Join our Discord




