Skip to main content
TriggersAdded in Beta 1.5

DETECTOR RAIL

A rail that outputs a redstone signal when a minecart passes over it. Comparator can read the contents of container minecarts. Signal lasts while minecart is on the rail.

Detector Rail sprite

Crafting Recipe

6 Iron Ingots + 1 Stone Pressure Plate + 1 Redstone Dust → 6 Detector Rails

How to craft Detector Rail, laid out on Crafting

Signal Behavior

Input

Minecart presence on rail

Output

Signal strength 15 (or container fullness via comparator)

Max Signal Strength

15

Delay

Active while minecart is on rail

Modes

  • Binary detection
  • Analog container reading via comparator

What Detector Rail costs you on the crafting grid, exactly

Detector Rail comes out of a 3x3 arrangement of 6 Iron Ingot, 1 Redstone and 1 Stone Pressure Plate. Because 6 come out per craft, 8 items buy you 6 of them.

Most of that is Iron Ingot: 6 of the 8 squares, so stock up on that before you start on Detector Rail.

The 3x3 pattern that makes Detector Rail

iron ingot in the Detector Rail recipe, row 1 column 1
Empty square in the Detector Rail recipe
iron ingot in the Detector Rail recipe, row 1 column 3
iron ingot in the Detector Rail recipe, row 2 column 1
stone pressure plate in the Detector Rail recipe, row 2 column 2
iron ingot in the Detector Rail recipe, row 2 column 3
iron ingot in the Detector Rail recipe, row 3 column 1
redstone in the Detector Rail recipe, row 3 column 2
iron ingot in the Detector Rail recipe, row 3 column 3
One craft of Detector Rail, item by item
Detector Rail is built fromSquares it fills
Iron Ingot iconIron Ingot6
Redstone iconRedstone1
Stone Pressure Plate iconStone Pressure Plate1
Detector Rail you end up with6

Taken from the Detector Rail crafting recipe in Java Edition 26.2.

Start here: what a Detector Rail is and what it does

A rail that outputs a redstone signal when a minecart passes over it. Comparator can read the contents of container minecarts. Signal lasts while minecart is on the rail.

As a trigger it watches the world for an event and converts that event into a redstone signal. It is the station sensor of rail systems, detecting carts and reading container minecarts.

Since Beta 1.5 the Detector Rail has been part of redstone, and Java Edition 26.2 is the version described here.

How the Detector Rail reads and answers a redstone signal

Input for the Detector Rail means minecart presence on rail, and the output is signal strength 15 (or container fullness via comparator).

It outputs signal 15 the whole time a minecart sits on that specific rail block, and a comparator placed against it instead reads the fullness of a container minecart passing over. The signal ends the moment the cart leaves that one rail.

Strength 15 at the source means the last powered piece of dust sits 15 blocks away from the Detector Rail, and the one after it stays dark.

Which of the 2 states the Detector Rail happens to be in changes the answer it gives, so keep track of them: binary detection and analog container reading via comparator.

How to set up the Detector Rail

  1. 1Craft the Detector Rail: 6 Iron Ingots + 1 Stone Pressure Plate + 1 Redstone Dust → 6 Detector Rails.
  2. 2Place the Detector Rail last of all, once you know exactly where the signal begins and where it has to end, so that its facing comes out right the very first time.
  3. 3Lead the signal it produces into a repeater or dust line so the rest of your contraption can respond to the detected event.
  4. 4Give it one dry run before anything else. If the Detector Rail does not do exactly what the numbers above say it should, the fault is almost always its facing or the block sitting behind it.

Jobs the Detector Rail does well

  • ▸Minecart arrival detection
  • ▸Station systems
  • ▸Item transport monitoring
  • ▸Automatic rail switching

Tips & common mistakes

  • !Signal only while minecart is on the specific rail block
  • !Comparator reads container fullness, not just presence
  • !Only the cart on that exact rail block counts, so place it precisely at the stop point rather than somewhere along the approach.

Detector Rail FAQ: the questions people ask

  1. Observer, the icon for this component question

    Where does the Detector Rail earn its place in a redstone build?

    The Detector Rail is most often used for minecart arrival detection, station systems, item transport monitoring, and automatic rail switching. As a trigger it watches the world for an event and converts that event into a redstone signal.

  2. Redstone Dust, the icon for this component question

    Does the Detector Rail give a full 15?

    15 is the number to plan around for the Detector Rail. Signal strength 15 (or container fullness via comparator).

  3. Crafting Table, the icon for this component question

    What is the recipe for a Detector Rail?

    6 Iron Ingots + 1 Stone Pressure Plate + 1 Redstone Dust → 6 Detector Rails. It was introduced in Beta 1.5.

  4. Observer, the icon for this component question

    What is the most common mistake with the Detector Rail?

    Signal only while minecart is on the specific rail block. Comparator reads container fullness, not just presence.

Components that connect to Detector Rail

Follow Detector Rail further into the site through these 6 component pages:

The block behind Detector Rail: hardness, resistance and light

At hardness 0.7, Detector Rail is quick work with a pickaxe.

No light comes off Detector Rail, so torch the area around it if that matters. Detector Rail resists explosions to 0.7, the same as its hardness, which means TNT clears it.

Block values for Detector Rail in Minecraft Java Edition
Detector RailDetector Rail in Java Edition
Detector Rail hardness0.7
Detector Rail blast resistance0.7
Fastest tool on Detector Railpickaxe
Light out of Detector Rail0
Look up Detector Rail on the Items siteBuilds that use Detector Rail
Back to all 37 redstone components
Detector Rail, a Minecraft redstone component, added in Beta 1.5
This is Detector Rail in game, triggers, added in Minecraft Beta 1.5, maximum signal 15.