SOLVED Help detecting empty slots

Started by ChimkinTheGamer on

Topic category: Help with modding (Java Edition)

Last seen on 19:32, 17. Dec 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
SOLVED Help detecting empty slots
Mon, 08/16/2021 - 19:12 (edited)

I am trying to make a custom gui that when certain slots are filled and no others are, then there is an item in a 10th slot, but when I try this it doesn't work, any help is needed and greatly appreciated
 

 

Edited by ChimkinTheGamer on Mon, 08/16/2021 - 19:12
Last seen on 19:32, 17. Dec 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, it didn't work,…
Mon, 08/16/2021 - 19:02

Sorry, it didn't work, basically what I did was I made a string with the if block and and blocks that detect if certain slots have dirt or air, and if the slots are correct, with the empty slots being air, then slot 9 is gained with a cobblestone

Last seen on 19:32, 17. Dec 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I got it to work, I just…
Mon, 08/16/2021 - 19:11

I got it to work, I just used the wrong block to detect empty slots