Ender IO

Ender IO

92M Downloads

Item Conduit round robin does not work unless the source inventory is full

forkinme opened this issue ยท 1 comments

commented

Is there an existing issue for this?

  • I did not find any existing issues.

Current Behavior

When using round robin extraction, if items are placed in the source inventory all at once it works as expected. If items are trickled in, such as one at a time, round robin distribution does not happen. An example use case is distributing prediction items from a Hostile Neural Networks simulation chamber to loot fabricators--the simulation chamber only produces an item once per run.

Expected Behavior

Round robin distributes items from the source inventory to all destinations in turn

How to Test

Setup

  1. Lay out three inventories
  2. Connect Item conduits to all three
  3. Configure the center inventory's conduit to extract in round-robin
  4. Configure the left and right inventory conduits to insert

Passing Test 1

  1. Insert 8 items into the center inventory in a single stack of eight
  • Observe four items went into the left inventory, and four items went into the right inventory

Passing Test 2

  1. Insert 8 items into the center inventory in eight single stacks very quickly (finish inserting before extraction has started)
  • Observe four items went into the left inventory, and four items went into the right inventory

Failing Test

  1. Insert 8 items into the center inventory in eight single stacks slowly (wait for each to be extracted before adding the next)
  • Observe all items were routed to a single destination

Local Environment

- **Operating System**: Linux
- **Java version**: 17.0.8
- **Minecraft Version**: 1.20.1
- **Version**: 6.2.2-beta
- **Other Mods**: Monifactory modpack 0.10.5

Any Additional Information?

No response

commented

Thanks for reporting this