How are the pipes in Gregtech coded?

I’m trying to program a system to transport power in a game i’m working on but I can’t figure out how to stop wires from sending power back and forth between themselves. Gregtech seems to handle it well so I was wondering if anyone knew how it is done?

1 Like

GT does NOT handle it well, there is much better ways to do it.

I would recommend building a graph between all sources and sinks connected to the wire network and then have the graph itself handle transfer instead of having the blocks “emit” their power.

Thanks! I was not expecting a response lol.

1 Like