SirSengir/BuildCraft — pull request #329 by Xhamolk (2012-10-04 23:17:19+00:00)
Title: Pipes connecting improperly (fix of my last PR)

I saw cpw reverted my previus pull request, as pipes will never connect to other pipes.
This was caused because Pipe.isPipeConnected(TileEntity) would basically check on itself over and over.

Now, this addresses the same issues as #302 but also fixes the infinite loop generated by it.

> 1) Pipes now properly check if IPipeConnection allows the connection.
>
> 2) Items pipes should no longer connect to ISidedInventory sides where getSizeInventorySide <= 0.
> This allows third-party modders to prevent pipes connection to their machines without having to depend on BC's IPipeConnection.
>
> 3) Improved the routing mechanism for piped items.
> Now it's properly checked if the input is accepted, before trying to send it there.
>
> 4) Fixes the bug my previous PR generated.