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)




