Started by
AravindGamer712
on
Topic category: Help with Minecraft modding (Java Edition)
So i wanted to make the Mana amount go up every 80 ticks till mana reaches 10 is this good or does this not work?
please help
Topic category: Help with Minecraft modding (Java Edition)
So i wanted to make the Mana amount go up every 80 ticks till mana reaches 10 is this good or does this not work?
please help
image not working... you can use a while-loop to check if the mana is less than 10, then you use a wait procedure block that waits 80 ticks to increase the mana.
https://drive.google.com/file/d/1ZIAaiJs4sKSaz5HYDCQ01aMa8fqtSZxM/view?…
This is the image does it work?
I did it a bit differently will this work?
https://drive.google.com/file/d/1Flexfr2yAjBfC-9dFlIPEY8ApytCz0Ar/view?…
the latest one you posted should work.
though if your mana goes above 10, it'll just keep rising without stopping
If you want to keep your mana from rising and allow it to go above ten, you should replace the "=" sign with ">=" greater than equal sign. this'll make sure your mana stops rising when its 10 or higher.
If you want to have a max mana, add another if statement that checks if the mana is greater than max mana and if so, set it to the max mana.
Hope i helped! <3
thank you very much i will do that cause I don't want it to go above 10 for now