
Conduits not properly detecting pipes (from other mods)
Timeslice42 opened this issue ยท 5 comments
This ticket might be considered a duplicate of #2929. Also, I'm not 100% sure cross connection is supposed to be supported in the first place.
Two examples/issues. The second issue is probably on your side, the first probably isn't.
First: Connecting too often
When placing item or fluid conduits near any blocks from GregTech (such as a power cable) they always default to connecting. Part of this is due to the way that all blocks in GT are handled. However I'm hoping there's a "handlesFluids()/handlesItems()" method that you can call or something.
Second: Not connecting often enough
There's some inconsistency with connecting to Buildcraft and Logistic Pipes pipes. Waterproof pipes and fluid conduits connect on both sides, which is great. Waterproof pipes attempt to connect to item conduits, which is weird. Item pipes/basic LP pipes and item conduits do not attempt to connect to each other at all, which is sad (this one is probably a very complicated "fix"). The LP fluid insertion pipe tries to connect to fluid conduits, but the fluid conduit does not connect back. This is the issue I'm most interested in getting fixed. I'm guessing this is because the LP fluid insertion pipe can carry both items and fluids. I'm hoping it's just a simple case of the fluid conduit detecting that the LP pipe accepts items and not bothering to check that it also accepts fluids.
Finally, now that I've made this ticket, it seems like a bit of a mess. Depending on feedback, I'm thinking I should make an issue for just the LP Fluid Insertion pipe.
Also, to confirm: the LP fluid insertion pipe is not exposing the correct fluid API, but the BC waterproof pipes are?
No idea - as long as nothing crashes you just have to live with this "undefined" behavior.
There is no API to detect if fluid or item transports should connect or not. If the correct API is exposed (inventory or fluid handler) than the conduit will connect.
In generally you should avoid connecting pipes of different mods with each other - put a buffer/tank in between.