Started by
_RedLine_
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make a Naruto mod, but I don't know how to make chakra properly. I need to make a scale that shows the amount of chakra that can be replenished by pressing the letter J. It will be needed to use a firearm.
Edited by _RedLine_ on Sat, 02/17/2024 - 16:23
First you create 2 number player persistence variables chakra and max chakra. You can make an upgrade system by making a stat card or something that adds a number of max chakra . Chakra regen can be a key bind or by sneaking, just add 1 chakra. To show your chakra to max chakra make a procedure with a string return block, then put a create text with block, then put your chakra variable in that, then a normal text block with a “/“ in it, then do a max chakra variable. Then create a overlay, make a text, and in that text select your “show chakra” procedure, save then you’re done!
You can be more specific in the Show Chakra Procedure part please, i'm basic with the same problem!