GUI slot not being read

Started by _FrenchFry_ on

Topic category: Help with MCreator software

Last seen on 23:16, 20. Jan 2022
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GUI slot not being read

I have this GUI, it has a simple button and an input slot. There is a procedure on the button to get it to show only if the slot has an item in it (in blocks: return get number  of items in slot > 0).

The problem is, it doesn’t work. The button never shows up, unless I just set the value to true. I even tried updating it every tick and it just kept flashing in and out.
I tried the block inventory functions, as well as checking if the item is air. Please help!