- Functions
- 3,117 views • 1 today
- 50 downloads • 0 today
0
Mana
Re-useable Mana Data Pack for implementing a ready to use Mana scoreboard.
You can use the it with every targeting command out there.
Works also in the newest snapshot! c:
Documentation :
Test for Mana [location: --- ]
Test for exact Mana :
execute at @a[scores={mana=amount}]
give @a[scores={mana=amount}]
Test for Mana up to (X) :
execute at @a[scores={mana=..amount}]
give @a[scores={mana=..amount}]
Test for Mana from (X) :
execute at @a[scores={mana=amount..}]
give @a[scores={mana=amount..}]
Reduce or increase Mana [location: --- ]
Reduce Mana :
scoreboard players remove target mana amount
Increase Mana :
scoreboard players add target mana amount
Mana regeneration [location: schedule/mana.mcfunction]
Mana amount to regen. :
scoreboard players add @a mana amount
Time to regen. :
schedule function m:schedule/mana 20t
Max. Mana [location: tick.mcfunction]
Maximal Mana to have :
execute as @a[scores={mana=condition..}] at @s run scoreboard players set @s mana amount
Scoreboard [location: --- ]
Set Display :
scoreboard objectives setdisplay sidebar mana
Fell free to use
Re-useable Mana Data Pack for implementing a ready to use Mana scoreboard.
You can use the it with every targeting command out there.
Works also in the newest snapshot! c:
Documentation :
Test for Mana [location: --- ]
Test for exact Mana :
execute at @a[scores={mana=amount}]
give @a[scores={mana=amount}]
Test for Mana up to (X) :
execute at @a[scores={mana=..amount}]
give @a[scores={mana=..amount}]
Test for Mana from (X) :
execute at @a[scores={mana=amount..}]
give @a[scores={mana=amount..}]
Reduce or increase Mana [location: --- ]
Reduce Mana :
scoreboard players remove target mana amount
Increase Mana :
scoreboard players add target mana amount
Mana regeneration [location: schedule/mana.mcfunction]
Mana amount to regen. :
scoreboard players add @a mana amount
Time to regen. :
schedule function m:schedule/mana 20t
Max. Mana [location: tick.mcfunction]
Maximal Mana to have :
execute as @a[scores={mana=condition..}] at @s run scoreboard players set @s mana amount
Scoreboard [location: --- ]
Set Display :
scoreboard objectives setdisplay sidebar mana
Fell free to use
| Compatibility | Minecraft 1.14 |
| Tags |
2 Update Logs
Update 1.2.1 (Documentation & Download) : by citharus 10/25/2019 6:13:29 amOctober 25, 2019 @ 10:13 am UTC
Changelog 1.2.1 :
+ Documentation update
+ Direct Download link
+ Documentation update
+ Direct Download link
LOAD MORE LOGS
4426373
119


Have something to say?