ManaBarLib

Quick rating

Community listing page, reviews here may not be monitored by the author.

ManaBarLib

By MinoBananaOwner

No reviews yet

Configurable Mana Bar For Modders

Mod Loaders
Minecraft

About

Description

ManaBarLib Overview:

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 <percent> - Set the mana bar to a given a percentage e.g. 10

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

/cdget - Returns the current cooldown perccentage in chat

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) Using decimal value within the /cdset command can result in the cooldown bar reaching 100.9% instead of capping off at 100%
2) Missing configurable mana bar locations


 
I've partnered with RocketNode Hosting! RocketNode provides top-tier server hosting worldwide, allowing you to set up your server with just a few clicks! Their intuitive dashboard makes server management a breeze, and you can even schedule automatic restarts without needing any coding knowledge. Use the code Mino to get 25% off your first month on any of their gaming servers. Get started here: https://rocketnode.com/mino

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