COWMODSКаталог модов
Mana Lib

ВЕРСИИ (1)

release

Mana Lib 1.0.0

1.0.0
7 дек. 2025 г.83Minecraft: 1.21.8neoforge
Скачать
Что нового
# 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 `maxmana` is set to `0`, 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) *** ### 🔗 Links * [**Report Bugs**](https://github.com/Ryukazan/Mana-Lib/issues/new/choose) * [**Join Discord**](https://discord.gg/aPk7Qs5d4H) * [**Source Code**](https://github.com/Ryukazan/Mana-Lib)