Detector - Villager

The Detector - Villager is a block from the Railcraft mod. This block is meant to output a redstone signal based on the type of Minecart that passes in front of it. The Detector - Villager will output a redstone signal if there is a villager riding a Minecart and it matches the parameters in the Detector. They can be placed under or beside Minecart Tracks, and will output a signal to the side that has a small square. When a redstone signal is active this square will turn red.

Usage
In the GUI of the Detector - Villager there are six buttons; two arrows, Any, None, Not, and Equals. If Any is selected, the Detector will emit a redstone signal as long as there is a villager in a Minecart in front of it. If None is selected, it will emit a redstone signal when there is no villager riding a Minecart in front of it. Use the arrow buttons to change the villager shown in the center, this can be used to help define when a redstone signal is emitted. If Equals is selected, it will only emit a redstone signal when the villager shown in the center is in the Minecart in front of it. When Not is selected, it will emit a redstone signal whenever there is not the villager shown in the center riding a Minecart in front of the Detector.