How to make Detector Rails in Minecraft
This Minecraft tutorial explains how to craft detector rails with screenshots and step-by-step instructions.
In Minecraft, detector rails are one of the many transportation items that you can make. The crafting process will create 6 detector rails at a time.
Let's explore how to make detector rails.
Supported Platforms
Detector rails are available in the following versions of Minecraft:
Platform | Supported (Version*) |
Java Edition (PC/Mac) | Yes |
Pocket Edition (PE) | Yes (0.13.0) |
Xbox 360 | Yes |
Xbox One | Yes |
PS3 | Yes |
PS4 | Yes |
Wii U | Yes |
Nintendo Switch | Yes |
Windows 10 Edition | Yes (0.13.0) |
Education Edition | Yes |
* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.
Where to find Detector Rails in Creative Mode
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Definitions
- Platform is the platform that applies.
- Version(s) is the Minecraft version numbers where the item can be found in the menu location listed (we have tested and confirmed this version number).
- Creative Menu Location is the location of the item in the Creative Inventory menu.
Required Materials to make Detector Rails
In Minecraft, these are the materials you can use to craft a detector rail:
How to craft Detector Rails in Survival Mode
1. Open the Crafting Menu
First, open your crafting table so that you have the 3x3 crafting grid that looks like this:
2. Add Items to make Detector Rails
In the crafting menu, you should see a crafting area that is made up of a 3x3 crafting grid. To make detector rails, place 6 iron ingots, 1 stone pressure plate, and 1 redstone dust in the 3x3 crafting grid.
When making detector rails, it is important that the iron ingots, stone pressure plate, and redstone dust are placed in the exact pattern as the image below. In this first row, there should be 1 iron ingot in the first box and 1 iron ingot in the third box (the second box should be left empty). In the second row, there should be 1 iron ingot in the first box, 1 stone pressure plate in the second box, and 1 iron ingot in the third box. In the third row, there should be 1 iron ingot in the first box, 1 redstone dust in the second box, and 1 iron ingot in the third box. This is the Minecraft crafting recipe for detector rails.
Now that you have filled the crafting area with the correct pattern, six detector rails will appear in the box to the right.
3. Move the Detector Rails to Inventory
Once you have crafted rails, you need to move the new item to your inventory.
Congratulations, you have made detector rails in Minecraft!
Item ID and Name
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Minecraft Pocket Edition (PE)
In Minecraft, detector rails have the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Detector Rails (minecraft:detector_rail) |
0 |
64 |
PE |
1.0 - 1.20.50 |
Minecraft Xbox One
In Minecraft, detector rails have the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Detector Rails (minecraft:detector_rail) |
0 |
64 |
Xbox One |
1.6.0 - 1.20.50 |
Minecraft PS4
In Minecraft, detector rails have the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Detector Rails (minecraft:detector_rail) |
0 |
64 |
PS4 |
1.14.0 - 1.20.50 |
Minecraft Nintendo Switch
In Minecraft, detector rails have the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Detector Rails (minecraft:detector_rail) |
0 |
64 |
Switch |
1.6.0 - 1.20.50 |
Minecraft Windows 10 Edition
In Minecraft, detector rails have the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Detector Rails (minecraft:detector_rail) |
0 |
64 |
Windows |
1.0 - 1.20.50 |
Minecraft Education Edition
In Minecraft, detector rails have the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Detector Rails (minecraft:detector_rail) |
0 |
64 |
Education |
1.0 - 1.18.32 |
Definitions
- Description is what the item is called and (Minecraft ID Name) is the string value that is used in game commands.
- Data Value (or damage value) identifies the variation of the block if more than one type exists for the Minecraft ID.
- Stack Size is the maximum stack size for this item. While some items in Minecraft are stackable up to 64, other items can only be stacked up to 16 or 1. (NOTE: These stack sizes are for vanilla Minecraft only. If you are running a mod, some mods may change the stack size for an item.)
- Platform is the platform that applies.
- Version(s) is the Minecraft version numbers that the Minecraft ID and Name are valid for.
Block States for Detector Rails
- PE
- Xbox
- PS
- Nintendo
- Win10
Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE), the block states for Detector Rails are:
Block State |
Value |
Default |
Required |
Example |
Description |
rail_data_bit |
false |
Yes |
No |
["rail_data_bit"=false] | Rail is not activated |
rail_data_bit |
true |
No |
No |
["rail_data_bit"=true] | Rail is activated |
rail_direction |
0 |
Yes |
No |
["rail_direction"=0] | Straight rail connecting South and North |
rail_direction |
1 |
No |
No |
["rail_direction"=1] | Straight rail connecting East and West |
rail_direction |
2 |
No |
No |
["rail_direction"=2] | Sloped rail rising to the East |
rail_direction |
3 |
No |
No |
["rail_direction"=3] | Sloped rail rising to the West |
rail_direction |
4 |
No |
No |
["rail_direction"=4] | Sloped rail rising to the North |
rail_direction |
5 |
No |
No |
["rail_direction"=5] | Sloped rail rising to the South |
Minecraft Xbox One
In Minecraft Xbox One, the block states for Detector Rails are:
Block State |
Value |
Default |
Required |
Example |
Description |
rail_data_bit |
false |
Yes |
No |
["rail_data_bit"=false] | Rail is not activated |
rail_data_bit |
true |
No |
No |
["rail_data_bit"=true] | Rail is activated |
rail_direction |
0 |
Yes |
No |
["rail_direction"=0] | Straight rail connecting South and North |
rail_direction |
1 |
No |
No |
["rail_direction"=1] | Straight rail connecting East and West |
rail_direction |
2 |
No |
No |
["rail_direction"=2] | Sloped rail rising to the East |
rail_direction |
3 |
No |
No |
["rail_direction"=3] | Sloped rail rising to the West |
rail_direction |
4 |
No |
No |
["rail_direction"=4] | Sloped rail rising to the North |
rail_direction |
5 |
No |
No |
["rail_direction"=5] | Sloped rail rising to the South |
Minecraft PS4
In Minecraft PS4, the block states for Detector Rails are:
Block State |
Value |
Default |
Required |
Example |
Description |
rail_data_bit |
false |
Yes |
No |
["rail_data_bit"=false] | Rail is not activated |
rail_data_bit |
true |
No |
No |
["rail_data_bit"=true] | Rail is activated |
rail_direction |
0 |
Yes |
No |
["rail_direction"=0] | Straight rail connecting South and North |
rail_direction |
1 |
No |
No |
["rail_direction"=1] | Straight rail connecting East and West |
rail_direction |
2 |
No |
No |
["rail_direction"=2] | Sloped rail rising to the East |
rail_direction |
3 |
No |
No |
["rail_direction"=3] | Sloped rail rising to the West |
rail_direction |
4 |
No |
No |
["rail_direction"=4] | Sloped rail rising to the North |
rail_direction |
5 |
No |
No |
["rail_direction"=5] | Sloped rail rising to the South |
Minecraft Nintendo Switch
In Minecraft Nintendo Switch, the block states for Detector Rails are:
Block State |
Value |
Default |
Required |
Example |
Description |
rail_data_bit |
false |
Yes |
No |
["rail_data_bit"=false] | Rail is not activated |
rail_data_bit |
true |
No |
No |
["rail_data_bit"=true] | Rail is activated |
rail_direction |
0 |
Yes |
No |
["rail_direction"=0] | Straight rail connecting South and North |
rail_direction |
1 |
No |
No |
["rail_direction"=1] | Straight rail connecting East and West |
rail_direction |
2 |
No |
No |
["rail_direction"=2] | Sloped rail rising to the East |
rail_direction |
3 |
No |
No |
["rail_direction"=3] | Sloped rail rising to the West |
rail_direction |
4 |
No |
No |
["rail_direction"=4] | Sloped rail rising to the North |
rail_direction |
5 |
No |
No |
["rail_direction"=5] | Sloped rail rising to the South |
Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition, the block states for Detector Rails are:
Block State |
Value |
Default |
Required |
Example |
Description |
rail_data_bit |
false |
Yes |
No |
["rail_data_bit"=false] | Rail is not activated |
rail_data_bit |
true |
No |
No |
["rail_data_bit"=true] | Rail is activated |
rail_direction |
0 |
Yes |
No |
["rail_direction"=0] | Straight rail connecting South and North |
rail_direction |
1 |
No |
No |
["rail_direction"=1] | Straight rail connecting East and West |
rail_direction |
2 |
No |
No |
["rail_direction"=2] | Sloped rail rising to the East |
rail_direction |
3 |
No |
No |
["rail_direction"=3] | Sloped rail rising to the West |
rail_direction |
4 |
No |
No |
["rail_direction"=4] | Sloped rail rising to the North |
rail_direction |
5 |
No |
No |
["rail_direction"=5] | Sloped rail rising to the South |
Definitions
- Block State is the internal name for the block state.
- Value is the value for the block state.
- Default indicates that it is the default, if omitted.
- Required indicates that it must be included in command to properly identify this item/block.
- Example shows how to format the block state to be used in the /fill, /setblock, /clone, or /testforblock command.
Give Command for Detector Rails
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Give Command in Minecraft Java Edition (PC/Mac)
In Minecraft Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.20 and 1.20.3, the /give command for Detector Rails is:
/give @p detector_rail 1
In Minecraft Java Edition (PC/Mac) 1.8, 1.9, 1.10, 1.11 and 1.12, the /give command for Detector Rails is:
/give @p detector_rail 1 0
Give Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE) 1.12.0, 1.13.0, 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0 and 1.20.50, the /give command for Detector Rails is:
/give @p detector_rail 1 0
Give Command in Minecraft Xbox One
In Minecraft Xbox One 1.12.0, 1.13.0, 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0 and 1.20.50, the /give command for Detector Rails is:
/give @p detector_rail 1 0
Give Command in Minecraft PS4
In Minecraft PS4 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0 and 1.20.50, the /give command for Detector Rails is:
/give @p detector_rail 1 0
Give Command in Minecraft Nintendo Switch
In Minecraft Nintendo Switch 1.12.0, 1.13.0, 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.1, 1.20.0 and 1.20.50, the /give command for Detector Rails is:
/give @p detector_rail 1 0
Give Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition 1.12.0, 1.13.0, 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0 and 1.20.50, the /give command for Detector Rails is:
/give @p detector_rail 1 0
Give Command in Minecraft Education Edition
In Minecraft Education Edition 1.12.0, 1.12.60, 1.14.31, 1.17.30 and 1.18.32, the /give command for Detector Rails is:
/give @p detector_rail 1 0