NBT in GUI

Started by AMonsterl on

Topic category: Advanced modding

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yo this does not work for me…
Mon, 07/25/2022 - 09:10

yo this does not work for me, the right one does absolutly nothing when i use it and the left one shrinks the itemstack at least but does nothing to ENBT data

 

https://i.imgur.com/dDnty4W.png