
Mana Lib
Adds a highly customizable mana bar to Minecraft, appearing above your hunger bar, which can be easily managed by NBT data.
Оцените первым
69
0
Список изменений
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)
🔗 Links
- Report Bugs
- Join Discord
- Source Code
Файлы
mana_lib-1.0.0-neoforge-1.21.8.jar(30.88 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.0
Загрузчики
NeoForge
Версии игры
1.21.8
Загрузок
69
Дата публикации
07.12.2025
