![]() |
VOOZH | about |
| Renewable | Yes |
|---|---|
| Stackable | Yes (64) |
| Tool | π SlotSprite Pickaxe Required.png: Sprite image for Pickaxe Required in Minecraft |
| Blast resistance | 0.7 |
| Hardness | 0.7 |
| Luminous | No |
| Transparent | Yes |
| Waterloggable | Yes |
| Flammable | No |
| Catches fire from lava |
No |
| Map color | 0 NONE |
| Note block instrument | Default (Harp) |
{
"title": "Detector Rail",
"rows": [
{
"field": "Yes",
"label": "(link to Renewable resource article, displayed as Renewable)"
},
{
"field": "Yes (64)",
"label": "Stackable"
},
{
"field": "<span class=\"sprite-file\" style=\"height:32px;width:32px;--vertical-align:middle\">(link to File:SlotSprite Pickaxe Required.png article, displayed as 32x32px|link=|alt=SlotSprite Pickaxe Required.png: Sprite image for Pickaxe Required in Minecraft|class=pixel-image|This block can be broken with any tool, but a pickaxe is the quickest)</span>",
"label": "Tool"
},
{
"field": "0.7",
"label": "(link to Explosion#Blast resistance article, displayed as Blast resistance)"
},
{
"field": "0.7",
"label": "(link to Breaking#Blocks by hardness article, displayed as Hardness)"
},
{
"field": "No",
"label": "(link to Light article, displayed as Luminous)"
},
{
"field": "Yes",
"label": "(link to Opacity article, displayed as Transparent)"
},
{
"field": "Yes",
"label": "(link to Waterlogging article, displayed as Waterloggable)"
},
{
"field": "No",
"label": "(link to Flammable article, displayed as Flammable)"
},
{
"field": "No",
"label": "Catches fire<br>from (link to lava article, displayed as lava)"
},
{
"field": "<span style=\"white-space: nowrap;\"><span style=\"display: inline-block; background-color: rgb(); border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 0 NONE</span>",
"label": "(link to Map color article, displayed as Map color)"
},
{
"field": "Default (Harp)",
"label": "(link to Note Block#Instruments article, displayed as Note block instrument)"
}
],
"invimages": [
"Detector Rail"
],
"images": [
"Detector Rail.png",
"Powered Detector Rail.png"
]
}
The detector rail is a type of rail that produces a redstone signal while a minecart is on it.
The suitable tool to break detector rail is pickaxe.
Detector rail drops itself when it's destroyed.
| Item | Structure | Container | Quantity | Chance |
|---|---|---|---|---|
| Java Edition and Bedrock Edition | ||||
| π Image |
π Image Mineshaft |
Chest not located in a sulfur cave | 1β4 | 27.1%{ "item": "Detector Rail", "stacksize": "1β4", "chance": 0.271, "structure": "Mineshaft", "container": "Chest not located in a sulfur cave" }
|
| π Image Mineshaft |
Chest located in a sulfur cave | 1β4 | 23%{ "item": "Detector Rail", "stacksize": "1β4", "chance": 0.22974537037037035, "structure": "Mineshaft", "container": "Chest located in a [[sulfur cave]]" }
| |
To place a detector rail, use a detector rail item while pointing at a surface facing the space the detector rail should occupy.
A detector rail can be placed on top of any block whose top face has a rim around the edge, such as any full block, hopper, top slab, upside-down stairs, or top trapdoor. A full list of compatible blocks can be found here.
If a detector rail is updated while on an opened top trapdoor, the rail breaks and drops as an item. Placing a minecart on a detector rail on top of a closed and unpowered trapdoor opens the trapdoor and updates the rail, causing the detector rail to break. If the top trapdoor is powered and closed when the minecart is placed, the trapdoor does not open so the rail does not break. The minecart on the detector rail then powers the trapdoor, meaning the external power source can be removed without causing the trapdoor to change state and break the rail.
When placed, a detector rail configures itself to line up with any adjacent rails (including activator rails, powered rails, and other detector rails), as well as adjacent rails one block up. If there are two adjacent rails on non-opposite sides, or three or more adjacent rails, a detector rail lines up in the east-west direction. If there are no adjacent rails, a detector rail lines up in the north-south direction (but if a rail is later placed to the east or west, the detector rail re-orients itself in the east-west direction even if it is already connected to another rail to the north or south). If a rail it would line up with is one block up, a detector rail slants upward toward it (with multiple options to slant upward to, a detector rail "prefers", in order: west, east, south, and north). Other configurations can be created by placing and removing various rails.
Mobs avoid walking across a detector rail (or other rails), but can be pushed onto them.
It cannot be placed suspended in midair, even with commands.[1]
Detector rails (and other rails) act as "roads" for minecarts. A minecart that enters a detector rail's space from either end of the detector rail continues to move, losing only a little velocity (which can then be increased again with powered rails). A minecart that enters a detector rail's space from the side turns east or south (depending on the detector rail's orientation), or in the downward direction for a slanted detector rail.
A detector rail becomes powered when any part of any minecart's bounding box comes into contact with it. Every 20th game tick after the rail first becomes powered, it checks whether any minecart is still present and depowers if there are none in contact at that time. This means that the duration of the signal is always a multiple of 20 game ticks (10 redstone ticks). While powered, a detector rail:
If the minecart on the detector rail is a minecart with chest or minecart with hopper, an adjacent redstone comparator facing away from the detector rail outputs a power level proportional to the container's fullness, possibly power level 0. For any other type of minecart (including a regular minecart with a mob riding it) the comparator's output is zero. If multiple minecarts are on the detector rail, the comparator reads only the minecart that was placed first.
A comparator can read the contents of a minecart with hopper or with chest on a detector rail through a solid opaque block, as it can with other container blocks.
Like other types of rails, spiders, cave spiders, and wardens are the only land mobs that can walk onto detector rails.
Detector rail can be pushed by the piston, and can be pulled by the sticky piston. However, detector rail breaks and drops as an item when it is unsupported because of being moved.
π BlockSprite block-of-gold.png: Sprite image for block-of-gold in Minecraftmetal sound type | ||||||||
|---|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch | Attenuation distance |
| βBlock broken | Blocks | Once the block has broken | block.metal.break | subtitles.block.generic.breakβ | 1.0 | 1.2 | 16 | |
| βBlock placed | Blocks | When the block is placed | block.metal.place | subtitles.block.generic.placeβ | 1.0 | 1.2 | 16 | |
| βBlock breaking | Blocks | While the block is in the process of being broken | block.metal.hit | subtitles.block.generic.hitβ | 0.25 | 0.75 | 16 | |
| βSomething falls on a block | Entity-Dependent | Falling on the block with fall damage | block.metal.fall | subtitles.block.generic.fallβ | 0.5 | 1.25 | 16 | |
| βFootsteps | Entity-Dependent | Walking on the block | block.metal.step | subtitles.block.generic.footstepsβ | 0.15 | 1.5 | 16 | |
π BlockSprite block-of-gold.png: Sprite image for block-of-gold in Minecraftmetal sound type | |||||||
|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch |
| βBlock broken | Blocks | Once the block has broken | dig.stone | subtitles.block.generic.breakβ | 1.0 | 1.1β1.2 | |
| βBlock placed | Blocks | When the block is placed | use.stone | subtitles.block.generic.placeβ | 1.0 | 1.2β1.25 | |
| βBlock breaking | Blocks | While the block is in the process of being broken | hit.stone | subtitles.block.generic.hitβ | 0.3 | 0.75 | |
| βFootsteps | Players | Falling on the block with fall damage | fall.stone | subtitles.block.generic.footstepsβ | 0.4 | 1.0 | |
| βFootsteps | Players | Walking on the block | step.stone | subtitles.block.generic.footstepsβ | 0.35 | 1.0 | |
| βFootsteps | Blocks | Jumping from the block | jump.stone | subtitles.block.generic.footstepsβ | 0.12 | 1.0 | |
| βFootsteps | Blocks | Falling on the block without fall damage | land.stone | subtitles.block.generic.footstepsβ | 0.22 | 1.0 | |
| Name | Identifier | Form | Block tags | Item tags | Translation key |
|---|---|---|---|---|---|
| π BlockSprite detector-rail.png: Sprite image for detector-rail in Minecraft Detector Rail | detector_rail | Block & Item | prevent_mob_spawning_insiderails | rails |
block.minecraft.detector_rail |
| Name | Identifier | Numeric ID | Form | Item ID[i 1] | Translation key |
|---|---|---|---|---|---|
| π BlockSprite detector-rail.png: Sprite image for detector-rail in Minecraft Detector Rail | detector_rail | 28 | Block & Giveable Item[i 2] | Identical[i 3] | tile.detector_rail.name |
| Name | Default value | Allowed values | Description |
|---|---|---|---|
| powered | false | falsetrue | True if rail is activated. |
| shape | north_south
| east_westnorth_south | Specifies the rail's orientation. |
ascending_eastascending_northascending_southascending_west | A rail that ascends toward the direction noted. For example, an ascending_west rail is a straight rail that goes upward from the east toward the west. | ||
| waterlogged | false | falsetrue | Whether or not there's water in the same place as this rail. |
| Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
|---|---|---|---|---|---|
| rail_data_bit | 0x8 | false | falsetrue | 01 | True if rail is activated. |
| rail_direction | 0x10x20x4 | 0
| 0 | 0 | flat track going north-south |
1 | 1 | flat track going east-west | |||
2 | 2 | sloped track ascending to the east | |||
3 | 3 | sloped track ascending to the west | |||
4 | 4 | sloped track ascending to the north | |||
5 | 5 | sloped track ascending to the south | |||
6789 | Unsupported | Unused |
| Java Edition Beta | |||||||
|---|---|---|---|---|---|---|---|
| 1.5 | π Image π Image π Image π Image π Image π Image Added detector rails. | ||||||
| Java Edition | |||||||
| 1.0.0 | Beta 1.9 Prerelease 6 | Detector rails are now broken faster using a pickaxe. | |||||
| 1.3.1 | 12w21a | Detector rails are now renewable, due to redstone dust being obtainable from trading. | |||||
| 1.5 | 13w10a | π Image π Image π Image π Image π Image π Image A distinct texture for active detector rails has now been added. | |||||
| 1.8 | 14w04a | π Image π Image If a detector rail is set to render as the block inside of a minecart via commands or map editing, it now appears as this (previously it would be entirely invisible). | |||||
| 14w28a | Sloped detector rails no longer decrease their hitbox to 2 pixels of a block when activated. | ||||||
| 1.9 | 15w38a | All sloped rail types' hitbox heights have been decreased from 10 pixels of a block to about 2.5 pixels of a block. | |||||
| 15w44a | Detector rails can now be found in chest minecarts in mineshafts. | ||||||
| 15w46a | Mobs no longer spawn on detector rails. | ||||||
| 1.10 | 16w21a | All sloped rail types' hitbox heights have been increased from about 2.5 pixels of a block to a full block. | |||||
| 1.11 | 16w32b | All sloped rail types' hitbox heights have now been decreased from a full block to a half block. | |||||
| 1.14 | 18w43a | π Image π Image π Image π Image π Image π Image π Image π Image π Image π Image π Image π Image The textures of detector rails have now been changed. | |||||
| 19w12b | Detector rails can now be placed on glass, ice, glowstone and sea lanterns. | ||||||
| 1.17 | 20w45a | All rail types can now be waterlogged. | |||||
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.13.0 | build 1 | π Image π Image Added detector rails. | |||||
| v0.14.0 | build 1 | Detector rails can now be found inside minecarts with chests in mineshafts. | |||||
| Bedrock Edition | |||||||
| 1.7.0 | beta 1.7.0.2 | Rails are once again broken by flowing water. Previously it flowed through the rails. | |||||
| 1.10.0 | beta 1.10.0.3 | π Image π Image The textures of detector rails have now been changed. | |||||
| Legacy Console Edition | |||||||
|---|---|---|---|---|---|---|---|
| Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
| TU1 | CU1 | 1.00 | 1.00 | 1.00 | Patch 1 | 1.0.1 | π Image π Image [verify] Added detector rails. |
| TU46 | CU36 | 1.38 | 1.38 | 1.38 | Patch 15 | All sloped rail types' hitbox heights have been increased from 10 pixels of a block to a full block. | |
| TU54 | CU44 | 1.52 | 1.52 | 1.52 | Patch 24 | 1.0.4 | All sloped rail types' hitbox heights have now been decreased from a full block to a half block. |
| TU69 | 1.76 | 1.76 | 1.76 | Patch 38 | All types of rails can now be waterlogged and are no longer destroyed by flowing water. Instead it flows right through them. | ||
| 1.90 | π Image π Image The textures of detector rails have now been changed. | ||||||
| New Nintendo 3DS Edition | |||||||
|---|---|---|---|---|---|---|---|
| 0.1.0 | π Image π Image Added detector rails. | ||||||
Issues relating to "Detector Rail" are maintained on the bug tracker. Issues should be reported and viewed there.
| π Image Redstone | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| π Image Blocks | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||