dec: 28 hex: 1C bin: 11100
A detector rail can be attached to the top of any opaque block, or to the top of an upside-down slab or upside-down stairs. To place a detector rail, right-click on the face of a block adjacent to the destination space.
When placed, a detector rail will configure itself to line up with any adjacent rails (including activator rails, powered rails, and other detector rails), as well as adjacent rails one block up. If there are two adjacent rails on non-opposite sides, or three or more adjacent rails, a detector rail will line up in the east-west direction. If there are no adjacent rails, a detector rail will line up in the north-south direction (but if a rail is later placed to the east or west, the detector rail will re-orient itself in the east-west direction even if it is already connected to another rail to the north or south). If a rail it would line up with is one block up, a detector rail will slant upwards towards it (with multiple options to slant upwards to, a detector rail "prefers", in order: west, east, south, and north). Other configurations can be created by placing and removing various rails.
Detector rails (and other rails) act as "roads" for minecarts. A minecart that enters a detector rail's space from either end of the detector rail will continue to move, losing only a little velocity (which can then be increased again with powered rails). A minecart that enters a detector rail's space from the side will turn east or south (depending on the detector rail's orientation), or in the downward direction for a slanted detector rail.
In addition, a detector rail activates when any minecart is on it (even if only a portion of the minecart is on it), and deactivates when no minecarts are on it.
While activated, a detector rail and its attachment block (unless attached to a slab or stairs) both power any adjacent redstone dust (including beneath the block), and any adjacent redstone comparator or redstone repeater facing away, to power level 15. If the minecart is a minecart with chest or minecart with hopper, a redstone comparator will output a power level proportional to the container's fullness instead, possibly power level 0. The detector rail and its attachment block also activate any adjacent mechanism components (including above or below) such as pistons, redstone lamps, powered rails, etc.
Mobs will not try to walk across a detector rail (or other rails), but can be pushed onto them.
If a detector rail's attachment block is removed, or if water flows into the detector rail's space, the detector rail will be destroyed and drop itself as an item. If lava flows into a detector rail's space, the detector rail will be destroyed without dropping itself as an item.
|1.5||Added detector rails.|
|1.5||13w10a||Added texture for active detector rails.|
|TU1||Added detector rails.|
Issues relating to "Detector Rail" are maintained on the issue tracker. Report issues there.