Applied Energistics 2

Applied Energistics 2

137M Downloads

Improve ME Interface flow control

Sorbe opened this issue ยท 2 comments

commented

The current ME Interface flow control mechanism of "Do not push crafting items if inventory contains items" does not work well with some devices (as an example, Runic Altar). The problem arises when the AE2 ME Interface outputs to items like a chest / open crate / item grate. The crafting items are then pushed into these "containers" AGAIN before the whatever is doing the actual crafting is ready to accept more items.

What might work better is "Do not push more crafting items until crafted item is returned". Curiously, this seems to be exactly what AE2 does internally when the crafting job is cleared from the crafting processor. It would seem to be trivial add an option to gate pushing more crafting items on the last item being complete. Thus you get a classic SEND <=> ACK type of flow control protocol.

Please consider adding another ME Interface option along these lines.

commented

Simply not possible due to how flexible players are with their placement of interfaces. Like not enforcing "you have to return it to the same interface".

If you actually want to compare it with a network protocol, UDP is the right one. Just fire and forget.

commented

Can't the crafting processor make the call? It's the one that already has to clear out the completed job based on getting back the crafted item, right?