You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The round-robin algorithm for pattern providers does not distribute ingredients equally when a provider is placed next to inventories that do not accept ingredients. Any batches that cannot be pushed into certain inventories are unevenly distributed among machines that can accept input, depending on the order in which adjacent inventories are checked.
How to reproduce the bug
Setup ME network like this:
Ensure that the Pattern Provider is touching an inventory that cannot accept ingredients (e.g., the ME Drive in the setup above, it could be any full inventory, or clogged machine).
Encode a pattern (e.g., 1x Cobblestone → 1x Stone) and place it into the Pattern Provider.
Insert the required ingredients into storage.
Start a crafting job that requires multiple ingredient batches but less than the total target machines capacity (e.g., request 100x Stone).
Check the inventories connected to the Pattern Provider, after system finishes distributing items:
The chest in front contains 40x Cobblestone.
The remaining inventories each contain 20x Cobblestone.
It appears that the chest in front receives items that cannot be inserted into the ME Drive.
Expected behavior
Ingredients should have been split evenly between all available inventories.
Additional details
Tested on forge 47.3.0 and AE2 ver. 15.3.3
Blocking mode somewhat alleviates this problem, but it is not a perfect solution when dealing with long and expensive jobs for machines that can process multiple recipes in parallel.
Describe the bug
The round-robin algorithm for pattern providers does not distribute ingredients equally when a provider is placed next to inventories that do not accept ingredients. Any batches that cannot be pushed into certain inventories are unevenly distributed among machines that can accept input, depending on the order in which adjacent inventories are checked.
How to reproduce the bug
Encode a pattern (e.g., 1x Cobblestone → 1x Stone) and place it into the Pattern Provider.
Insert the required ingredients into storage.
Start a crafting job that requires multiple ingredient batches but less than the total target machines capacity (e.g., request 100x Stone).
Check the inventories connected to the Pattern Provider, after system finishes distributing items:
It appears that the chest in front receives items that cannot be inserted into the ME Drive.
Expected behavior
Ingredients should have been split evenly between all available inventories.
Additional details
Tested on forge 47.3.0 and AE2 ver. 15.3.3
Blocking mode somewhat alleviates this problem, but it is not a perfect solution when dealing with long and expensive jobs for machines that can process multiple recipes in parallel.
Which minecraft version are you using?
1.20
On which mod loaders does it happen?
Forge
Crash log
https://pastebin.com/G4tfbFHa
The text was updated successfully, but these errors were encountered: