Modular Routers

Modular Routers

33M Downloads

Router not distributing evenly

lstrobel opened this issue ยท 3 comments

commented

Minecraft Version

1.12.2

Forge Version

14.23.4.2707 (I'm playing Sevtech 3.0.8)

Mod Version

1.12.2-3.1.5

Describe your problem, including steps to reproduce it

I have an item router with three different Mk2 Sender Modules in it. The behavior I would expect is for the router to evenly distribute incoming items in a round-robin fashion. However, it instead focusses only on the first module, distributing to mainly that one.

Here are some pictures:
The setup

Configuration

Any other comments?

It seems this occurs because the items I wish to distribute are trickling in, and each time a new item comes it resets where it distributes them to.

commented

Yes, that's how the router behaves I'm afraid. It just executes each module in turn, so if the first module is able to send the item(s), it will, leaving nothing for the others.

I have been considering a Distributor Module, which would allow distribution of items between multiple inventories (with the ability to select round-robin, nearest first, nearest last etc.). Since it seems like this would be a useful feature, it's likely I'll add it for the next major release.

commented

Distributor module has been added, will be in upcoming 3.2.0 release.

If you want to test it out now, you can try build 19+ from http://jenkins.k-4u.nl/view/Desht/job/ModularRouters/

commented

Distributor module available in 3.2.0