User:Munin295/Inventory mechanism

…

Water channel

 * Ice Channel


 * Continuous Ice Channel


 * This version has no dead spots where fallen items won't get pushed by water.

Item sorter

 * Basic Item Filter


 * 1×5×4 (20 block volume), 1-wide, tileable


 * This filter uses two hoppers: a "filter" hopper (top) and a "valve" hopper (bottom).


 * The filter hopper contains the items to be filtered in the leftmost slot, and the 4 rightmost slots are filled with items that aren't expected to be filtered (either because they've been previously filtered, or because they are items that won't normally be dumped into a sorting system such as specifically named items).


 * The number of items needs to be balanced precisely so that the filter hopper's comparator is producing signal strength 1, but if one more item enters the hopper, the comparator will increase its signal strength to 2. This will cause the torch to turn off and allow the valve hopper to drain a single item from the filter hopper (which will always pull from the leftmost slot, the items being filtered). If no more filter items enter the filter hopper, the comparator will drop back to signal strength 1, the torch will turn back on, and the valve hopper will stop pulling items. But as long as filter items are entering the filter hopper, the torch will stay off and the valve hopper will keep pulling them down.

The basic item filter has two problems:
 * Stuck Item: An item will get stuck in the valve hopper and won't move until the next item is filtered (a problem if you're filtering high-value items)
 * Overflow: If the chest fills up, items will fill up the valve hopper, then start to fill up the filter hopper. When the filter hopper starts to output signal strength 3 or more, that signal will trigger the item filters on either side, causing them to drain out their filter items and then they'll accept everything.

The advanced item filter (below) solves these two problems:


 * Advanced Item Filter


 * 1×7×4 (28 block volume), 1-wide, tileable


 * This item filter solves the "stuck item" problem (see above) by placing another "drain" hopper under the valve hopper. The filter circuit is pushed away by one block so that it will deactivate only the valve hopper and not the drain hopper, so the drain hopper will always pull any items left in the valve hopper.


 * The filter solves the "overflow" problem (see above) by pointing the valve hopper at an overflow hopper pipe. Hoppers will always attempt to pull items before pushing them, so the drain hopper will always pull an item from the valve hopper before the valve hopper tries to push the item into the overflow pipe. But when the drain hopper is full, it will stop trying to pull items from the valve hopper, and all items from the valve hopper will go into the overflow pipe.