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

Started by Ege78pro on Fri, 05/06/2022 - 15:10

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
nbt variables in gui(This text has been translated from Turkish to English)
Fri, 05/06/2022 - 15:10

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 22:19, 26. Jun 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thank you
Sat, 05/07/2022 - 11:14

thank you