Diamond Pipe

The Diamond Pipe sorts the items that pass through it into colored outputs, configurable by it's right-click accessible GUI. They can be connected with up to 6 pipes, each with a different colour. Up to 9 different items can be selected per output (with 1 input and 5 output leaving one colour empty). If an item has no match, it will be routed out of a color that has no filter, additionally if all colours are used the item will be rejected and removed from the pipe.

Diamond Pipes cannot be waterproofed.

Rarely Diamond Pipes experience a client side glitch causing items to appear leaving the Diamond Pipe in random directions without being sorted, like a normal Stone Pipe would act. The Items continue on the Client side until they reach a chest or similar container. However opening the chest reveals that all items are sorted correctly after all. The Glitch appears on all clients until the server is restarted, anyway it does no harm at all.

Usage and Recipe
The Diamond Pipe acts as a sort of filter. Multiple Diamond Pipes can act in conjunction to sort every item Minecraft has to offer.

You can also place multiple copies of the same item in a single row to affect relative probabilities. For example, if you place 2 Cobblestone in yellow, and 1 Cobblestone in green, 2/3 of your Cobblestone will go to the yellow output, 1/3 will go to the green output.