nbt variables in gui(This text has been translated from Turkish to English)

Started by Ege78pro on

Topic category: Help with modding (Java Edition)

Last seen on 15:10, 23. May 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nbt variables in gui(This text has been translated from Turkish to English)

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)

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For procedures in the math…
Fri, 05/06/2022 - 19:59

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.

Last seen on 15:10, 23. May 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you
Sat, 05/07/2022 - 11:14

thank you