desht / ModularRouters

A Forge Mod for item routers with pluggable modules
19 stars 21 forks source link

Help with sending modules and regulator augments #79

Open Nightcaste opened 4 years ago

Nightcaste commented 4 years ago

Minecraft Version 1.14.4

Forge Version 28.2.3? GD launcher is vague on this.

Mod Version 5.1.4-9

Describe your problem, including steps to reproduce it

I am using a modular router with a sender mk2 and regulator augment to automate the Energizing Orb from Powah. For the most part this works correctly. When the last piece of the first type of item is sent, and the second type of item is received by the router, it sends the second type immediately, so the orb has two different items simultaneously, which does not work.

Any other comments?

Technically the router is doing what it has been set up to do. It's only putting one piece from it's buffer into the destination. The issue is at the point when the buffer now has a different item before the destination is done doing it's thing with the previous item.

I suppose what I am looking for is a way for the router to detect that the destination still has an item (of any kind) and not send until the destination inventory is completely empty.

desht commented 4 years ago

Hmm, sounds a bit out of scope for Modular Routers. Something with some vanilla redstone (and maybe wireless redstone of some kind) sounds like what you need here?

I'm not overly familiar with the Energizing Orb so I'm not quite sure how items are supposed to be handled in this case...

Nightcaste commented 4 years ago

Hmm, sounds a bit out of scope for Modular Routers.

I fail to see how, since it's literally Modular Routers causing the issue.

Something with some vanilla redstone (and maybe wireless redstone of some kind) sounds like what you need here?

Ok, how do I set up the router to only feed an item when the target inventory is empty?

I'm not overly familiar with the Energizing Orb so I'm not quite sure how items are supposed to be handled in this case...

The Energizing Orb is irrelevant. This would still be a problem if one were trying to use a Modular Router for any machine with multiple input slots.

desht commented 4 years ago

Yeah, probably me not understanding the problem properly.

As for redstone control, the router itself can be configured to only run with/without a redstone signal, and if you want finer (per-module) control, you can add a Redstone Augment to individual modules. So you could configure the router or module to only run with (or without a signal), that signal coming from a comparator on the target inventory (with possibly some wireless redstone if you're far away).

boneskull commented 3 years ago

@Nightcaste The only way I've found to fully automate the energizing orb is via some redstone. I'm using Refined Storage, and I've set the crafter to "redstone pulse inserts next set". When a router receives the finished product from the energizing orb, it sends a pulse to the crafter.

SamayaNL commented 1 year ago

Three years later, but I'm having the same issue. The regulator augment checks for an item of the same type, but it would be very helpful if there was an option to not send anything if there were items of ANY type in the destination.