Items don't flow through item pipes when inserted by a hopper
moozilla opened this issue ยท 1 comments
GregTech CEu Version
1.20.1-1.0.18.a
Recipe Viewer Installed
None
Environment
Singleplayer, GregTech CEu Modern Community Pack
Cross-Mod Interaction
No
Expected Behavior
In the following setup I expect the hopper to push charcoal into the item pipe, which then distributes it to both boilers, filling the bottom first and then the top.
Actual Behavior
Only the bottom boiler gets filled with charcoal. Based on several tests it seems like items pushed by the hopper will only ever travel through a single pipe and only in the direction directly in line with the hopper.
Based on the quest book in the community pack suggesting to use pipes with hoppers I suspect this isn't intended. If all pipes do is extend hopper by one block they are useless until LV.
Steps to Reproduce
I think these screenshots show the simplest way to reproduce.
- The first setup shows that any pipe longer than 1 block will not transfer items pushed by a hopper
- The second setup shows that a 1 long pipe will only push items to inventory directly in front of it
- The final is the original setup but with an item filter added onto the hopper as a cover. In this case the setup works as expected.
Additional Information
Not sure if this is the code responsible, but possibly related: https://github.com/GregTechCEu/GregTech-Modern/blob/1.20.1/common/src/main/java/com/gregtechceu/gtceu/common/pipelike/item/ItemNetHandler.java#L87-L88
That this is doing different logic based on if a cover is present or not is what made me think to try adding an item filter.