File Details
mana_lib-1.0.0-neoforge-1.21.8.jar
- R
- Dec 7, 2025
- 30.88 KB
- 35
- 1.21.8
- NeoForge
File Name
mana_lib-1.0.0-neoforge-1.21.8.jar
Supported Versions
- 1.21.8
Curse Maven Snippet
Mana Lib v1.0.0 - Initial Release
Welcome to the first release of Mana Lib! This library provides a standardized, lightweight backend for implementing magic and mana systems in Minecraft, featuring automatic HUD synchronization and gamerule management.
✨ Features
- Universal Mana System: Implemented a unified NBT-based system to handle player mana states.
- Dynamic HUD: Added a visual Mana Bar and numeric value display.
- Smart Visibility: The Mana Bar automatically hides if a player's
maxmanais set to0, ensuring the screen remains clean for non-magic users. - LGPL-3.0 License: Full permission for inclusion in modpacks.
⚙️ Configuration (Gamerules)
Server admins can control the UI elements using the following new gamerules:
DISPLAY_MANA_BAR(Default:true) - Toggles the visual bar.DISPLAY_MANA_VALUE(Default:true) - Toggles the numeric text (e.g., "Mana: 100/100").
👨💻 For Developers
To integrate your magic system, sync values to the player using these NBT tags:
"mana"(Int/Float)"maxmana"(Int/Float)