Skip to content
MinecraftUZ
Detector Rail

Detector Rail

Redstone
Stack size
64
Hardness
0.7
Blast resistance
0.7
Light level
0

Overview

A detector rail emits a redstone signal while a minecart is on top of it, which makes it the input half of every automated rail system. The obvious use is triggering something as a cart arrives — opening a door, lighting a station, firing a dispenser, or powering the next stretch of powered rail so a line effectively pushes itself. The less obvious use is measurement: a comparator reading a detector rail with a container minecart on it outputs a signal proportional to how full that cart is, exactly as it would for a chest. That turns a detector rail into an inventory sensor, which is how automated storage systems know whether an incoming hopper minecart is loaded or empty and route it accordingly. Six rails come from six iron ingots, a stone pressure plate and a redstone dust, so they are cheap enough to place liberally. A common pattern is a detector rail immediately before a powered rail on a long line, so each cart powers its own next segment and the line needs no permanent redstone at all.

Detecting an arriving minecart to trigger doors, lights and dispensers, self-powering a long rail line, and reading how full a container minecart is through a comparator.

Detector Rail counts as a redstone block in Minecraft 1.21.4. A crafting table turns its ingredients into Detector Rail. Its hardness of 0.7 makes it a normal, unhurried block to mine.

You can break it by hand without losing the drop. It drops as the same block you mined. Light passes through it, so it will not darken the space behind it.

It offers almost no protection from explosions (0.7 blast resistance). A full stack holds 64. It is crafted from Iron Ingot, Stone Pressure Plate, and Redstone Dust.

Nothing on the crafting grid is made from it.

How to get it

Craft 6 detector rails from 6 iron ingots, 1 stone pressure plate and 1 redstone dust. Iron is the main cost, and a single mineshaft trip usually supplies enough for a full line.

Tips

  • Put a detector rail just before each powered rail and the cart powers its own next boost as it passes.
  • A comparator on a detector rail reads a container minecart's fill level, which is a free inventory sensor.
  • It only emits while a cart is on it, so the signal is a pulse rather than a switch.
  • Use it at a station to stop the cart and open a door in the same action.

How long it takes to break

Hardness 0.7 puts Detector Rail at 1.1 seconds a block bare-handed, or 0.15 seconds with the right tool at netherite tier.

Iron takes 0.2 seconds against diamond's 0.15, so the upgrade worth making for this block is the one to diamond.

There is no tier requirement to worry about. Any tool, or none, returns the drop; the numbers below just say how fast.

Efficiency contributes its level squared plus one to tool speed, which makes Efficiency V roughly 3 times faster than the plain tool.

ToolNo enchantmentEfficiency IIIEfficiency V
Hand1.1 s1.1 s1.1 s
Wooden0.55 s0.1 sinstant
Stone0.3 s0.1 sinstant
Iron0.2 s0.1 sinstant
Diamond0.15 s0.1 sinstant
Netherite0.15 s0.1 sinstant
Golden0.1 sinstantinstant

Properties

Blast resistance on Detector Rail is 0.7, so any explosion nearby takes it out. It lets light pass and gives off no light. One inventory slot holds 64, the normal full stack. The block is tagged for pickaxes, and only that class gets the speed bonus; everything else mines at bare-hand rate.

Transparent
Yes
Required tool
Any

Crafting recipe

Crafting Table

Iron Ingot
Iron Ingot
Iron Ingot
Stone Pressure Plate
Iron Ingot
Iron Ingot
Redstone Dust
Iron Ingot
Detector Rail

Detector Rail ×6

Drops

Mined with any, Detector Rail drops itself.

Guides and tools that cover this

Frequently asked questions

How do you get Detector Rail in Minecraft?

Detector Rail is crafted from Iron Ingot, Stone Pressure Plate, and Redstone Dust.

What tool do you need to break Detector Rail?

No specific tool is required — Detector Rail can be broken by hand.

Is Detector Rail blast resistant?

Detector Rail has a blast resistance of 0.7, so an explosion nearby will destroy it.

How many Detector Rail fit in one stack?

64 per stack, so a double chest holds 3,456 Detector Rail.

How long does Detector Rail take to break?

0.15 seconds with a netherite-tier tool of the right class, or 1.1 seconds bare-handed.