BuildCraft|Core

BuildCraft|Core

7M Downloads

Fluid pipes will not connect to fluid handlers with no tanks.

immibis opened this issue ยท 5 comments

commented

If an IFluidHandler returns an empty array from getTankInfo, fluid pipes will not connect to it.

Even if a fluid handler has no internal tanks, it might still need to connect to pipes. It should not have to return dummy info from getTankInfo.

commented

So....you have a better idea?

commented

Couldn't he simply override the pipe connection?

commented

What about canFill and canDrain? And PR Forge to update the documentation so that null means "any fluid"

commented

canFill/canDrain are being removed in 1.7

commented

Who is updating the fluid API in 1.7 - still KingLemming?

Edit: Yes. KingLemming says he is adding a canInterface method specifically to solve this problem. Thanks KingLemming!