Started by
Withie The Cryptid
on
Topic category: Help with Minecraft modding (Java Edition)
I made a GUI so that whenever you place an item into the Input Slot it and press a button, it will then take that item and put another in the output slot.
It technically works, but you always have to take the output item out of the slot as soon as it's been put there, because if you leave it in there and press the button again, it'll still take the input items but the number of output items won't change.
Is there a way to change this so it's a little more convenient for the user?
Yes.
Instead of having it set 1 item in the output slot, have it set (number of items already in the output slot) + 1 items there.
Then add to the procedure so it won't run if the output slot is completely full or has a different item then the one you want to put in it.