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
Netherite Pickaxe Netherite Pickaxe 1.05s

All Minecraft 1.18 Item IDs

Find thousands more items on our complete list of 1,325 Minecraft IDs.

/spawn list

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 1317 - 1328

Detector Rail Crafting Recipes

Below you can find the crafting recipes that can be used to make Detector Rail.

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
powered bool ?
  • true
  • false
shape enum ?
  • north_south
  • east_west
  • ascending_east
  • ascending_west
  • ascending_north
  • ascending_south