NBT in GUI

Started by AMonsterl on Fri, 02/19/2021 - 16:52

Topic category: Advanced modding

Last seen on 16:06, 25. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
NBT in GUI
Fri, 02/19/2021 - 16:55 (edited)

Hi! I have a problem with the NBT tag output in the GUI. In the GUI, I add the text <ENBT: number: myNBTtag>. When I go into the game to check the performance, instead of the number I need, 0 is output.

Edited by AMonsterl on Fri, 02/19/2021 - 16:55
Last seen on 18:17, 27. Feb 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Maybe this is not a problem…
Fri, 02/19/2021 - 18:07

Maybe this is not a problem with your GUI but the procedures/codes 

I don't know

Last seen on 06:03, 8. Apr 2021
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In GUI: ENBT for Entity  NBT…
Sat, 02/20/2021 - 10:28

In GUI:

ENBT for Entity  NBT

and

BNBT for Block NBT

 

to test try with a button in your GUI.
put a procedure on the button:

Set Event/target entity data number NBT tag: "YourTag" to (Get Event/target entity data number NBT tag: "YourTag" + 1