ModsFinder

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.

ForgeClient and serverAll rights reserved1.20.1

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

  1. Configurable mana bars

    Modders can declare mana bars through configuration, with their own names and settings.

  2. Per-player cooldowns

    Cooldown rates are applied to each player individually, so one player's recharge does not change another's.

  3. Decimal cooldown values

    The cooldown setting accepts decimal values, and the result is capped at 100% when it would exceed it.

  4. Command and NBT control

    Bar values are changed through NBT tags and addition commands, with a list of useful commands documented by the author.

Compatibility

Latest build for each game version and loader.

1.20.11.0.0
ReleaseBetaAlphaNot available

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
ManaBarLibForge1.20.1Client and server2024-07-04
Iron's BotanyForge1.20.1Client and server2026-09-04
Lightning AbilitiesForge1.20.1Client and server2026-06-13
DALeveling - Solo Leveling ModForge1.20.1Client-side only2026-03-11

Questions

Does ManaBarLib need to be installed on the server?

Yes. Installation covers the server and each player's game.

Which loader and version does ManaBarLib support?

The library is published for Forge 1.20.1 only. The latest Forge file is 1.0.0, released on 2024-07-04.

How are mana values changed without editing files?

Values are controlled through NBT tags and addition commands. The author documents a list of useful commands in the mod text.

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

All projects

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
MinoBanana, on the Modrinth page

Official listing

Owner
MinoBanana
Published
2024-07-04
Updated on Modrinth
2024-07-04
Facts verified
2026-10-15

Tags