NBT tags in text labels not updating

Started by Mr_Arrhythmia on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 21:47, 16. Mar 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT tags in text labels not updating
Sat, 03/18/2023 - 17:15 (edited)

I have a text label in a GUI with "<BNBT:number:credit>" inside of it ("credit" is an nbt tag assigned to the GUI's block)

However, no matter how I change or update the NBT, the label in-game still reads "<BNBT:number:credit>"

How do I fix this?

 

I'm using MCreator 2023.1 if that changes anything
 

Image

Edited by Mr_Arrhythmia on Sat, 03/18/2023 - 17:15
Last seen on 17:09, 12. Mar 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is really annoying, it…
Tue, 03/21/2023 - 17:43

This is really annoying, it was working real fine before the update, i think now after it you need to go into the GUI, set the textfield to be any name, and then call a procedure that says "Set text inside [textfield] to (get NBT tag of block "credit") " under the GUI tab 

Last seen on 19:25, 27. Mar 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Read the Changelog/Update of…
Wed, 03/22/2023 - 18:12

Read the Changelog/Update of 2023.1!

From 2023.1 the variables have been replaced with the procedure system. You must now use procedures for special values like those of the NBT.

Last seen on 19:25, 27. Mar 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just make a Procedure with a…
Wed, 03/22/2023 - 18:13

Just make a Procedure with a Text Return Procedure Block.