ManaBarLib
ModLicenseRef-All-Rights-Reserved

ManaBarLib

Configurable Mana Bars for Modders

102
Downloads
4
Followers
1 years ago
Updated
📦
1
Versions

📖About ManaBarLib

ManaBarLib Overview:

ManaBar in game showcase

Currently ManaBarLib is controlled via NBT Tags in addition to commands. The following are the list of useful commands:

/cdtoggle <true/false> - This toggles the mana bar view on or off

/cdset - Set the mana bar to a given a percentage e.g. 10

/cdwait - The here refers to the number of ticks to wait before regenerating 1% of the mana

/cdget - Returns the current cooldown perccentage in chat

Animated Mana Bar showcase

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

KNOWN ISSUES & FUTURE FEATURES:

  1. Cooldown rate currently applies to all players, rather than individual rates for each player
  2. Using decimal value within the /cdset command can result in the cooldown bar reaching 100.9% instead of capping off at 100%
  3. Missing configurable mana bar locations