GUI slot not being read

Started by _FrenchFry_ on

Topic category: Help with MCreator software

Active 3 years ago
Joined Jul 2015
Points:
740

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
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!