[SOLVED] Help with crafting GUI Procedure (multiple items in multiple slots at the same time)

Started by The Windows Ex… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] Help with crafting GUI Procedure (multiple items in multiple slots at the same time)
Wed, 02/24/2021 - 18:11 (edited)

First, I need to mention, for each slot, multiple items may be needed in the same slot for the craft. In this case an example is the first slot where 17 samples of carbon need to be placed for the craft.

Hopefully not a duplicate. I'm making a chemistry mod. In this case I'm working on the first crafting recipe for a block I made that has the purpose of putting chemicals and elements together to form new chemicals. The block has 7 slots for inserting chemicals and/or elements. This particular recipe needs 17 carbon samples, 19 hydrogen samples, 1 nitrogen sample, and 3 oxygen samples. As the recipe needs more items than slots the carbon, hydrogen, and oxygen samples have to be stacked so that affects the procedure code.

If the image didn't load for whatever reason: https://drive.google.com/file/d/1wZk_fyPZl58TUnhPXzCQkAUnI0L0plXz/view?…

Image of the procedure

Edited by The Windows Experience on Wed, 02/24/2021 - 18:11
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Figured it out. I just…
Wed, 02/24/2021 - 18:11

Figured it out. I just needed to set the blocks that had "AND" and switch them to the equal sign.