-
Notifications
You must be signed in to change notification settings - Fork 4
Multi P2P Tunnels
Multi P2P Tunnels are P2P Tunnels with multiple inputs.
Multi P2Ps are implemented as a new item you use. They act just like normal P2P Tunnels, but have a special case where using a memory card in your offhand on a Multi Tunnel will set that tunnel as an input rather than an output. Other than that, they're attuned with the same items as single P2Ps, they interact with the memory card the same way, they have the same energy cost, etc.
By default MAE2 adds in Multi P2Ps for the stock Item, Fluid, FE, and Redstone P2P Tunnels. Additionally adds in a Multi for the Pattern P2P Tunnels. Unfortunately P2P Tunnels aren't guaranteed to work by default, so they're not being enabled by default for every tunnel. Other mods P2P Tunnel types would need to register their own (note I tried to make it possible, but I have no idea what I'm doing, so say something if you're trying to add your own Multi P2P). I also didn't enable Multi ME Tunnels because they don't really differentiate between inputs and outputs. And no Light Multi P2P because I'm lazy and no one uses it, make an issue if you do use it.
Every Multi P2P should work as expected, each input will go to every output, and each output can be pulled from to pull from each input (though they act a little janky due to how it has to be implemented). The one caveat is Pattern Multi P2P Tunnels will pick one pattern provider to push outputs too. Though this shouldn't matter unless you have different networks autocrafting through the same tunnel network, or you have more than an entire pattern provider's worth of recipe output being made at once. Neither seems likely to me.