Started by
Quomvi
on
Topic category: Help with Minecraft modding (Java Edition)
Basically i've been trying all day to do this Gui that basically has two slots, an input and output, the objective is that if i put item A in the input slot, Item B appears in the output slot (obviously eliminating item A). I've watched tutorials (that just confused me more because they were made for a GUI with multiple trades instead of just one and every article i've checked with the same problem either doesn't have an answer or had a solution but the OP never said what it was).
Edited by Quomvi on Wed, 08/30/2023 - 20:48
Also, i deleted all the procedures i had for this because none seemed to work
There are a few different ways you could do this. In this example I'm going to use one of the GUI procedure triggers but you could also use any of the triggers built in to the slots in question. First what you want to do is create a Procedure looking something like this: (Make sure you use the GUI related blocks, you can find them in the highlighted tab on the left in this image)
Depending on how your GUI is made the numbers may vary (check next image for an idea). In this procedure once you place a cobblestone block in slot 0 a stone block will be placed in slot 1. After this save it and create a GUI which might look something like this:
I decided to use one of the GUI procedure triggers but you can also use the ones built into the slot in question if wanted but in either case you want to select your Procedure you made in one of these like I did here. After this save and you're done! (As you see by the image my input slot is labeled 00 which is the 0 slot and the output one 01 which is the 1 slot, these are the ones we mention in the procedure to tell it what slots to use)
If you're still unsure just ask!
is this process for newer versions, i am using the 2022.1 because the mod is for 1.16.5
it worked! thx a lot.