#A simple rechargeable energy/mana meter which runs a function upon right-clicking a specific item
1 messages · Page 1 of 1 (latest)
if you track mana with score then you can use "execute if score ... return fail" at the start of the function to prevent players that have low score from running the rest of the commands.. you can even use it to run separate function or just 1 command to give player some feedback that they cant cast spells
command "/return" stops the function from running and if you put condition in front of it you can use it to separate when the function will run or not
Holy. This is pretty groundbreaking for me. I would have never thought of using scoreboards, (yet I use them all the time). I hope this might benefit my little project.
how do you track mana if you dont use scoreboards?
Yeah I sound dumb xD
Well, I feel ready to take this challenge on now.