GUI dont work with block NBT procedure

Started by воваабраменко on

Topic category: Troubleshooting, bugs, and solutions

GUI dont work with block NBT procedure

I need the GUI to change the NBT of the block in the "every tick while the interface is open" procedure. However, the procedure refuses to respond to my requests to NBT, such as checking the value. Ironically, checking the NBT in the procedure for the slot (NBT of the block rather than the item) works.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you show your procedure?
Sat, 10/18/2025 - 08:48

can you show your procedure?

It doesn't matter…
Sun, 10/19/2025 - 08:18

It doesn't matter. Absolutely any procedure with NBT doesn't work, but here's an example I tested it on.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does your block have nbt…
Sun, 10/19/2025 - 12:39

does your block have nbt enabled?

The problem itself is that…
Mon, 10/20/2025 - 09:06

The problem itself is that the procedure refuses to respond to NBT only in the "every tick while the interface is open" procedure. But if I want to check or change the NBT of the block in the slot (for example: I put an item in the slot - increase the NBT by 1). In this case, everything works.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh you're using a global…
Mon, 10/20/2025 - 09:23

oh you're using a global trigger?

You shouldn't use an additional trigger when you have connected the procedure to a trigger in another element

No additional trigger

 

But still, make sure this is enabled https://mcreator.net/comment/297506/#comment-297506