ManaBarLib
by MinoBanana
ManaBarLib is a Forge library for 1.20.1 that lets modders add and configure mana bars, and lets server owners control them with commands and NBT tags.
What it does
Mod authors can define their own mana bars through configuration instead of writing the bar logic from scratch. Bar locations can be set, and the library tracks each bar's value and cooldown for every player. Cooldown rates are applied per player, not as one shared rate for the whole server.
The bar is controlled through NBT tags and through a set of addition commands, so values can be changed in game or from a command block. The cooldown setting accepts decimal values, and the displayed result is capped at 100%, so a bar reading above 100.9% is shown as full. Client and server both need the library, so the bar and its values stay in sync between the two sides.
Key features
Configurable mana bars
Modders can declare mana bars through configuration, with their own names and settings.
Per-player cooldowns
Cooldown rates are applied to each player individually, so one player's recharge does not change another's.
Decimal cooldown values
The cooldown setting accepts decimal values, and the result is capped at 100% when it would exceed it.
Command and NBT control
Bar values are changed through NBT tags and addition commands, with a list of useful commands documented by the author.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Adding mana to a Forge mod
A modder who wants a mana resource for spells or abilities can declare the bar in configuration rather than building it by hand.
Tuning a server
Server owners can adjust cooldown behavior and bar values with commands, without editing the mod that uses the bar.
Who it’s for: Modders building magic or ability systems on Forge 1.20.1, and server owners who want to change mana values with commands.
How it compares
Iron's Botany is open source under the GNU General Public License v3.0 or later, for Forge 1.20.1 with client and server environments, and it is a botany mod rather than a mana library. Lightning Abilities is also a Forge 1.20.1 mod for client and server, but it is released under the MIT License and is not open source. DALeveling - Solo Leveling Mod is client-side only, so servers run without it, and it is not open source. ManaBarLib is the only one here that is a library for building mana bars rather than a finished gameplay mod.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| ManaBarLib | Forge | 1.20.1 | Client and server | 2024-07-04 |
| Iron's Botany | Forge | 1.20.1 | Client and server | 2026-09-04 |
| Lightning Abilities | Forge | 1.20.1 | Client and server | 2026-06-13 |
| DALeveling - Solo Leveling Mod | Forge | 1.20.1 | Client-side only | 2026-03-11 |
Questions
Does ManaBarLib need to be installed on the server?
Which loader and version does ManaBarLib support?
How are mana values changed without editing files?
In the catalog
ManaBarLib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 34,764 mods support Minecraft 1.20.1.
More from MinoBanana
Similar mods
What the author says
/cdwait - The here refers to the number of ticks to wait before regenerating 1% of the mana Accessing a players current cooldown level can done through a number NBT tag stored with every player called "cooldown_val" and wil return a decimal value from 0.0 to 100.0
Official listing
- Modrinth page
- modrinth.com/mod/manabarlib
- Owner
- MinoBanana
- Published
- 2024-07-04
- Updated on Modrinth
- 2024-07-04
- Facts verified
- 2026-10-15
