improved item interface algorithm
antrobot1234 opened this issue · 1 comments
Issue type:
- ➕ Feature request
Short description:
instead of inserting items based on the first empty slot, it will instead try and first find matching itemstacks and insert the items into there before then searching for an empty slot, even if an empty item slot preceeds it. with the way it is currently, there's a lot of wasted space due to items being inserted and extracted frequently.
take for example, iron ingots. say there is half a stack of iron ingots in slot 2 and slot 1 is empty. currently, if you put in another half a stack of iron, it will go into slot 1 instead of filling up the itemstack in slot 2. this issue compounds especially when autocrafting with integrated crafting is involved.