Procedure "Set 1 (ITEM) in GUI slot (ID)" doesn't stack items

Started by Ale1025 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure "Set 1 (ITEM) in GUI slot (ID)" doesn't stack items

So I was gonna make a kind of custom crafting table, and I noticed that if I put an item in the input slot, the other item (the result) comes out correctly. The problem is that if I craft more than one item the output slot will still only give you 1 item  (eg: i craft 1 iron ingot into 2 iron dust into my custom crafting, but if i craft 2 iron ingots before taking out the slot the previous 2 iron dusts they will disappear and the output slot will still show only 2 dusts instead of 4).

 

Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok I figured it out! Here's…
Fri, 09/27/2019 - 07:40

Ok I figured it out! Here's a solution for anyone having the same problem: for the "set (number) (item) in slot procedure" set the number of items to "get number of items in slot (ID)" and put it in a logic math operation block that has "+" and set the second value to the number of the items you craft

 

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've been trying to figure…
Wed, 09/08/2021 - 19:11

I've been trying to figure this out forever before I decided to check the forums to see if anyone had a solution. I can't believe I didn't think of this! Anyways, thanks so much for posting this. Super helpful!

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this is old but I'm…
Sat, 06/24/2023 - 20:14

I know this is old but I'm stuck with this and need help