Problem with NBT tags in GUI

Started by APPLE44KO on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with NBT tags in GUI

Previously, when I worked on versions before 2023.1 with NBT displayed, everything was fine, but when I switched to 2023.1 they stopped working even in old mods where everything was fine. 
Any ideas how to fix it? 

Link to the picture with the problem: https://ibb.co/drg6dht

 

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try to replace old text to…
Wed, 08/09/2023 - 17:35

Try to replace old text to new one. 

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any luck solving this? As I…
Thu, 08/10/2023 - 14:34

Any luck solving this? As I've got the same problem in 2023.2

I've seen from other posts that we need a procedure now to do it but I can't find a place to add one to the GUI elements.

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sussed it, you need a…
Thu, 08/10/2023 - 15:28

sussed it, you need a procedure which has a text return function. There's also procedure blocks which lets you read NBT tags based on the tag name. Just pass it to a local variable in the procedure and then return that variable using the correct return block.