Hello, I'm making a furnace style tileEntity which takes the input of an item and then turns it into another or several other items, all inside a GUI.
Everything works perfectly, the input gets consumed and then the outputs are placed on the output slots. But the problem comes along when the user clicks on a empty output slot, somehow making the some of the size of the ItemStacks inside the output itemstacks list become of amount 0 (ItemStack.stackSize becomes 0). I've been looking around the code and can't figure out how is this happening. Even made the output list final and also made a copy of it which is never used and they all turn 0... Here's the relevant part of the code of my tileEntity
That the item.uraniumpowder2 turned into a stack size of 0 (0xitem.uraniumpowder2..) in BOTH the listOut and the aux lists! I even checked and the outputList[][] is also changed!
So how the heck is this happening?