GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

Round Robin with Priority voids items

ProTriforcer opened this issue ยท 4 comments

commented

GregTech CEu Version

2.8.10-beta

Modpack Used

Nomi-CEu 1.7-beta-5c

Addons Installed

No response

Environment

Singleplayer

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

Expected conveyors set to Round Robin with Priority to not void items

Actual Behavior

Conveyors set to Round Robin with Priority voided items

Steps to Reproduce

  1. Place a chest and two macerators (or any other inventory with one free slot), connect them with an item pipe
  2. Place a conveyor to import from the chest, set it to Round Robin with Priority
    2024-07-22_02 13 43
  3. Place four stacks of cobblestone into the chest. Two of them will be moved into the macerators with two remaining, as expected
  4. Open a macerator and right click the cobblestone to take half of the stack. It will be immediately refilled, as expected
    2024-07-22_02 16 46
  5. Open the chest and observe a single stack of cobblestone, instead of expected one and a half
    2024-07-22_02 18 36
commented

It looks like you lose stack size/number of inventories items for every inventory you top up

commented

So i renamed some variables and did some logging, but i'm way too tired to make sense of it all myself. I'll just post a slightly edited log output and the code that made it here. Hope it helps.

https://pastebin.com/3k56sMcm
https://pastebin.com/6ccush0A