Data Packs Other

Mana API datapack

  • 2.2k views • 1 today
  • save_alt 120 downloads • 0 today
Compatibility
Minecraft 1.15
to version
Minecraft 1.17
Changes include
  • Functions
  • 6
  • 8
  • 5
BugoBug
Lvl 43Master Miner
15
Mana API datapack.

What does it means?

This datapack is an "api" if you want to create datapack with mana.
What can it do?

You can change the regen time for specific player.
You can change the regen count for specific player.
You can change the max mana for specific player.
You can change the mana for specific player.
It can display mana actionbar.
How to use.txt (In the datapack files)


So first, if someone sees "Mana / " and no numbers, you need to reset their mana stats.
How can you do it? Simple, just run those two commands:
/scoreboard players set <Player Name> Mana 0
/scoreboard players set <Player Name> mana_max 0

Okay, now, how can you set the regen time?
/scoreboard players set <Player Name> mana_regen_time <Ticks>

And the last one, the amount.
scoreboard players set <Player Name> mana_regen_count <Count>

If you need ANY help using this datapack, send me message on discord! BugoBug#6728

Credit:

You can use this datapack for free, but you have to give me credit. You can put my planetminecraft page, or my discord, BugoBug#6728

And that's it! Feel free to suggest things that you think I should add!

More like this

  Have something to say?

Aglo Klaus
09/10/2021 8:50 am
Level 57 : Grandmaster Birb
This is extremly useful! I'm saving it just in case!
2
BugoBug
09/10/2021 8:58 am
Level 43 : Master Miner
Thank you! If you need any help, feel free to message me :)
1
Souldras
09/09/2021 10:30 pm
Level 44 : Master Technomancer
This is amazing! I Love it! So useful for my upcoming major datapack.
2
BugoBug
09/10/2021 8:58 am
Level 43 : Master Miner
Happy to hear that :), If you need any help, you can message me!
1
BugoBug
09/09/2021 12:34 pm
Level 43 : Master Miner
Send me message if you're going to use this (on planet minecraft or on my discord)
1

Welcome