Liquid Unloader

The Liquid Unloader is a block added by Railcraft used to deposit liquids from a Tank Cart into an adjacent container. When the cart is empty, or meets the requirements set in the GUI the block will emit a redstone signal. In the GUI there is a Filters section, a Buffer section, and a few buttons. The Filters section determines which liquids and how many buckets are taken from the container, determined by buckets. The Buffer section is where the excess liquids go if they cannot fit into the tank, the Buffer has room for 16 buckets. There are different modes for the Liquid Unloader to use, for the top button we have All, Transfer, Stock, and Excess. All will move all liquids. Transfer will move the exact liquids in the Filter. Stock will move liquids until the destination matches the filter. Excess will keep the liquids in the filter, and move the rest. For the bottom button we have Immediate, Complete, Manual, and Partial. Immediate will emit redstone if no liquids were moved. Complete will emit redstone when the move is complete. Manual will never emit redstone. Partial will emit redstone if no items were moved and cart is not empty.

Usage
Place the Liquid Unloader directly next to the container you want to input liquids to, and directly below a track. Use Tank Carts to move the liquids from it into the Liquid Unloader. Set the Filters, redstone control, and item movement control buttons to your preferred settings. It is recommended to use a Holding Track or a Boarding Track, because they will stop the cart when there is no redstone signal, and will force the cart to continue when there is a redstone signal.