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

Closed
opened 2024-12-09 22:05:48 +00:00 by forkinme · 1 comment
forkinme commented 2024-12-09 22:05:48 +00:00 (Migrated from github.com)

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

### Is there an existing issue for this? - [x] 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 ```markdown - **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_
Rover656 commented 2024-12-09 22:12:46 +00:00 (Migrated from github.com)

Thanks for reporting this

Thanks for reporting this
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Team-EnderIO/EnderIO#911
No description provided.