ManaBarLib API [Forge 1.20.1, NeoForge 1.20.6]

Published by MinoBanana on
Supported MCreator versions
2024.1
2024.2
Tags / plugin type
API support
ManaBarLibLogo
Downloads:
224
Upvotes: 6
Plugin forum topic
About the plugin

Use the ManaBarLib Mod Directly In Mcreator 

  • Custom Procedures, API, and Animated Progress Bar

 

ManaBarAnimation

 

To use begin by enabling the External API from the by clicking workspace settings at the top right --> external API's  --> Check ManaBarLib

ManaBarLib

The plugin adds the following procedures:
1) Set the ManaBar visibility to <true/false> for <target entity>
2) Set ManaBar percentage to <number> for <target entity>
3) Set cooldown regeneration time to <number> ticks for <target entity>
4) Get current ManaBar percentage for <target entity>

 

ManaBarProcedures

 

Initially the ManaBar will be toggled off, so make sure to turn it on using the visibility procedure

 

The ManaBar will appear at the bottom left of the players screen when toggled on

ManaBar In Game

 

After exporting the mod you will need to add the ManaBarLib mod as a dependency - it can be found here:

ManaBarLib Page


 


Plugin downloads
ManaBarLib-1.0.0 - [Forge - 1.20.1] - manabarlib.zipUploaded on: 07/04/2024 - 07:11   File size: 5.21 KB
ManaBarLib-1.0.1 - [Forge - 1.20.1, NeoForge 1.20.6] - manabarlib_1.0.1.zipUploaded on: 08/29/2024 - 11:23   File size: 7.22 KB

Comments

i haven used this plugin yet but it look really useful, I'll check it out

Hey, im trying to make a spell that consumes 1 mana percentage every tick, but i cant figure out how to put up the procedure. I tried to do the same thing that @Max10tails did, and gives the same error. I would the mana bar to go down smoothly and not with a certain amount. Is there a way to do that? Hope i have explained good enough, and i apologize if maybe i missed something in what u said. Thanks in advance.

Let me explain better: I would like the mana bar to drop by 1 percent every tick of minecraft. Is there a way to do this, or am I forced to use the "set mana percentage" block and set it to a specific value? Using this block, therefore, I cannot reduce the mana, but only set its value to a specific number, right?

Would have been nice to have a gui/overlay element of this be a thing but this is still cool.