Detector Rail Item ID

Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for detector rail in Minecraft is shown below:

Detector Rail Spawn Command

The Detector Rail item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.

If you are running the Essentials plugin, you will need to run /minecraft:give instead of simply /give. This is because the Essentials /give command overrides Minecraft's built-in command.

Mining Tools

Below is a table of the tools that can be used to break Detector Rail blocks, and the speed it will take to break at (in seconds). This is calculated with the formula (1.5 * Block Hardness) / Tool Multiplier.

Tool Speed
Golden Pickaxe Golden Pickaxe 0.09s
Diamond Pickaxe Diamond Pickaxe 0.13s
Iron Pickaxe Iron Pickaxe 0.17s
Stone Pickaxe Stone Pickaxe 0.26s
Wooden Pickaxe Wooden Pickaxe 0.52s

Detector Rail Information

Detector Rail

Detector rails can detect when a minecart runs over them. They can be used in redstone circuits, which allows for redstone contraptions that react to minecarts.

Item ID minecraft:detector_rail
Numerical ID 28
Stackable Yes
Max Stack Size 64
Hardness 0.7
Material Rock
Diggable Yes
Min / Max State IDs 1016 - 1027

Detector Rail Crafting Recipes

Ingredients Pattern Result
Iron Ingot
Iron Ingot
Iron Ingot
Stone Pressure Plate
Iron Ingot
Iron Ingot
Redstone
Iron Ingot
6x Detector Rail

Detector Rail Block States

Block states are values assigned to a block that changes its state. For example, many blocks have a "direction" block state which can be used to change the direction a block faces.

Find a table of all blockstates for the Detector Rail block below.

Block State Name Type Values
shape enum ?
  • NORTH_SOUTH
  • EAST_WEST
  • ASCENDING_EAST
  • ASCENDING_WEST
  • ASCENDING_NORTH
  • ASCENDING_SOUTH
powered bool ?
  • true
  • false