Item Pipes void excess items when inserting into Storage Drawers
chloecat34 opened this issue ยท 1 comments
Checked for existing issues
- I have checked for existing issues, and have found none.
Tested latest version
- I have checked that this occurs on the latest version.
GregTech CEu Version
7.2.0
Minecraft Version
1.20.1 Forge
Recipe Viewer Installed
EMI
Environment
Singleplayer
Cross-Mod Interaction
Yes
Other Installed Mods
GregTech Community Pack Modern, the main mod that has the issue is Storage Drawers.
Expected Behavior
I'm expecting the item pipes to not over-send items into a Storage Drawer, leading to excess items being voided. I noticed this because my Greenhouse automation was not producing net-positive Rubber Logs despite it being supposed to be net positive. The macerator is irrelevant here since it happened in a creative test world with just a single drawer. It also happened with extracting from a vanilla chest.
I'm using Storage Drawers version 12.9.14 as later versions are incompatible with GT Storage Drawers and if I removed the latter mod it'd break my world.
Actual Behavior
When the item pipes tried to fill the Storage Drawer, it voided excess items that were extracted from the original inventory. This meant that I could not stock up on Rubber Logs, as they all got voided pretty quickly when the drawer got full. Basically, it tries to pull 8 items at a time and insert into inventories, but since the drawer only has space for <8 items, the rest get voided.
Steps to Reproduce
- Set up a full Storage Drawer.
- Set up an inventory with the same item.
- Connect them with Item Pipes and a Conveyor Module extracting from the drawer.
- Remove an item from the Storage Drawer, you will notice that more than 1 item gets extracted from the source inventory and gets deleted.
Additional Information
I'm using Storage Drawers version 12.9.14 as later versions are incompatible with GT Storage Drawers and if I removed the latter mod it'd break my world. My world already uses plenty of Rubber Drawers as it is my primary wood source right now. I have not tested if this happens with Functional Storage yet but I personally doubt it as I played Monifactory without any issues.
This seems likely to be a bug with the Storage Drawers mod; I can see other mods having similar issues (e.g. jaquadro/StorageDrawers#1222 for Modern Industrialisation.)
I suspect that the drawer is reporting that it will accept all the items when we test the insert with simulate=true, but when we actually run the insert with simulate=false there is a remainder that gets discarded.
I assume if you replace the drawer with e.g. a Quantum Chest, the issue goes away?