Started by
Ege78pro
on
Topic category: Help with Minecraft modding (Java Edition)
I will make a money system in gui, but how do I increase or decrease the nbt variable, what should I do for this?(This text has been translated from Turkish to English)
For procedures in the math section pull the addition sign(operations) procedure block out, find the set nbt block and the get nbt block. Name your nbt tag then get an integer from the math section, finally layout your procedure like this:
Set nbt to [get nbt tag + (number of added currency)].
The [ ] is the operations block, you can change it to + or -. Make sure to get the integer version of the nbt procedure blocks or this will not work. I hope you understand this.
thank you