-
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 Multi P2P Tunnels can't be dynamically made from singles, 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 registering 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.
Slightly Detailed Description of Each
- Item, Fluid, FE - All act the same, pushing into an input will split across every output, pulling from an output will pull from all inputs. Note that pulling is kinda janky due to how it has to be implemented
- Redstone - The highest input gets outputted, acts kinda like a wireless redstone wire you're inputting into
- Pattern - Patterns going into input go to output, like expected. The recipe outputs going from output to input just pick one input to go to. Technically not perfect, but only really matters if you're using one tunnel network to craft on multiple ME networks which seems unlikely to me