Detector Rail

From Minecraft Wiki
Jump to: navigation, search
Detector Rail
Detector Rail.png
Grid Detector Rail.png
Type

Non-Solid Block

Physics

No

Transparency

Yes

Luminance

No

Blast Resistance

3.5

Tool

Use-pickaxe.png

Renewable

No

Stackable

Yes (64)

First Appearance

Beta 1.5

Data value

dec: 28 hex: 1C

Detector Rails are a type of rail that acts like a pressure plate, and the first rail switch.

When any kind of Minecart is on top of the Detector Rail, it will generate a redstone signal. The signal will be transmitted to blocks that are adjacent to the detector (including Powered Rail) and redstone placed under the rail, like pressure plates.

Contents

[edit] Crafting

Detector rails are crafted as normal rails, but with a pressure plate instead of a stick, and the addition of redstone.

Ingredients Input » Output
Iron Ingots +
Stone Pressure Plate +
Redstone Dust
Grid layout None (small).pngGrid Iron (Ingot).png
Grid layout None (small).png
Grid layout None (small).pngGrid Iron (Ingot).png
Grid layout Arrow (small).png
Grid layout None (large).pngGrid Detector Rail.png
GridNumbersCSS.png
Grid layout None (small).pngGrid Iron (Ingot).png
Grid layout None (small).pngGrid Stone Pressure Plate.png
Grid layout None (small).pngGrid Iron (Ingot).png
Grid layout None (small).pngGrid Iron (Ingot).png
Grid layout None (small).pngGrid Redstone (Dust).png
Grid layout None (small).pngGrid Iron (Ingot).png

[edit] Uses

Detector rails can be used for many things. One train station-like feature could be activating a Note Block to indicate that a minecart is approaching, or a note block in conjunction with a redstone torch to have a grade crossing signal. It is easiest to simply wire a series of 4-6 detector rails, one around every 20 blocks, to a note block and an inverter that powers a Redstone Torch. As the cart passes each detector rail, it will trigger the circuit for one flash of the torch and a chime, thus giving you 4-6 chimes before the cart reaches the crossing.

Detector rails can be used with a memory cell to power powered rails for long tracks.

Additionally, they can be used to create a one-way gate to a Powered Rail, with any carts coming the other way slowing down if not stopping completely.

They also can be used to activate dispensers filled with arrows to create a minecart-friendly mob trap.

As a defense mechanism in multi-player or for your own challenge, you can make a rectangle using powered rails, regular rails, and detector rails. Then, make a box around it with glass (except the floor). At every detector rail have a redstone wire leading to a dispenser filled with arrows. When you begin the movement of the mine carts they'll pass over the detector, firing the arrows in a constant pattern until you run out of ammo. It is also good for speed killing by filling a hole with mobs and slaughtering the mobs inside; you can get a lot of resources this way.

[edit] Bugs

  • Detector rails placed on slopes do not work reliably. They will only turn on if the minecart is traveling slowly, and will usually not activate at all if the minecart is traveling at maximum speed.
  • A detector rail being used to change direction on a T shaped track will work as intended from one direction but if the cart is going fast enough from the other the plate can trigger early[1]
  • A detector rail powering a line of redstone will continue to power the line for a short time in the absence of a cart on the rail if the detector rail is moved away and back by a Sticky Piston (the cart is not retracted with the rail).

[edit] History

  • When the detector rail was first added to the game it could not be placed next to any rail without the game crashing due to a bug.
  • If a detector rail was placed on a slope and the next rail had the opposite slope, the detector only generated signals for occupied carts (like a stone pressure plate). This bug was fixed in 1.6.

[edit] References

  1. http://getsatisfaction.com/mojang/topics/minecart_pressure_plate_glitch_triggers_too_soon_1_5_1
Personal tools
Namespaces
Variants
Actions
Minecraft Wiki
Minecraft
Toolbox
In other languages

Recent Community Articles

Mojang Tweets

    Getting your tweets...