Applied Energistics 2

Applied Energistics 2

137M Downloads

Add a generic capability based P2P tunnel

yueh opened this issue ยท 2 comments

commented

The current P2P tunnels for fluids, forge energy and some degree items are very similar and could be combined into a single class with configurable suppliers for the input and output capabilites.

This should allow for other mods to add custom tunnels, but that will require some careful planning for the requirements,

  • Extract a generic P2P tunnels for capabilities
  • Change TunnelType into an interface make extending easier
  • Add a registry for tunneltypes and input/output capabilities (tentative)
commented

Addons can now add p2p tunnels, provided they depend on implementation details. I would say that is fine for now.

commented

Why not remove the energy / liquid separation at all and make an imitation of the direct connection of pipes, wires and other things.