A Regulator is very versatile and can be used for many tasks.
It has 3 inventories:
- Input side on the left: items in this inventory determine the kind and amount of items the internal buffer will accept from a tube connected to the block's input side.
- Internal buffer in the middle: items are stored here and ejected on the block's output when the items exactly match the input inventory. Items supplied from the sides of the block also enter this inventory, circumventing the input side's rules.
- Output side on the right: Only if its output side faces a block with an inventory then it compares the output filter with the inventory. If the inventory contains everything in the output filter then the regulator shuts down and gives out a redstone signal (which also makes it function as an inventory sensor).
Filling those inventories is optional, but the effects can be combined for additional effects.
It has 2 modes of operation, which determine output behavior: synchronous output (default) will only eject items on the output side if the internal buffer matches output requirements exactly, while asynchronous output (mode 2) will match each kind of item individually and not wait for the ratio to match.
It emits a redstone pulse whenever it ejects items and will provide a constant redstone signal, when inventory connected to the output side holds at least the amount of items in the output side inventory.
These are the sides needed for operation. Input on left, output on right. The regulator will need to be connected via Pneumatic Tubes and a device capable of extracting item from an inventory to function, such as a Filter.