How to add multiple items to GUI slots?

Started by itsSNJ on

Topic category: Help with MCreator software

Last seen on 13:31, 2. Aug 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add multiple items to GUI slots?

I can limit only one item type, but I want to limit several specific types of items I want to add to the GUI slot. For example, only apple, carrot, potato can be placed in one GUI slot.

sorry for my poor english QAQ

Last seen on 18:34, 4. Feb 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do not set a limit in the…
Fri, 03/11/2022 - 23:40

Do not set a limit in the GUI settings. In a procedure (Most likely activated when a button pressed or something) use an if block to detect what item is in the slot. you can use multiple if blocks for multiple items.