Detector Rail


Obtaining

A detector rail can be obtained by crafting, or by breaking a previously-placed detector rail.

Info

A detector rail is a block See the various blocks found in Minecraft. For the blocking with shields that reduces damage when performed, see Blocking. All blocks Blocks are the basic units of structure in Minecraft. Contents 1 minecraft that can transport minecarts Minecart Type Vehicles Durability N/A Renewable Yes Stackable No Internal ID PC: 42 PE: 84 Network ID PC: 10 Entity ID minecart Drops Minecart (1) Health points 6 () First appearances See History Data value minecraft and can be used as a switchable Redstone components are the blocks used to build redstone structures. Redstone components include power components (such as redstone torchs, buttons, and pressure plates), transmission components (such as redstone dust and redstone repeaters), and mechanism components minecraft redstone power source.

Videos

Breaking

To remove a detector rail, mine it. Detector rails can be broken fairly easily by hand, but can be broken faster by using a pickaxe.

Block
Rails
Hardness 0.7
Tool
Breaking "Punch" redirects here. For the enchantment, see Enchanting#Punch. The Player punches trees and gets wood (click to view animation). Breaking, digging, punching, or mining is one of the most fundamental activities in Minecraft, performed (by minecraft time
Hand 1.05
Wooden 0.55
Stone 0.3
Iron 0.2
Diamond 0.15
Golden 0.1
  1. ⃢₆ₑ Times are for unenchanted tools in seconds.

A detector rail will also be removed and drop itself as an item:

If lava Lava Transparency Yes Luminance Yes, 15 Blast resistance 500 Tool Renewable No Stackable N/A Flammable No Drops None Data values Flowing Lava dec: 10 hex: A bin: 1010 Still Lava dec: 11 hex: B bin: 1011 Name Flowing Lava flowing_lava Still minecraft flows into a detector rail`s space, the detector rail will be destroyed without dropping itself as an item.

Crafting

Ingredients Crafting Crafting is the method by which many blocks, tools, and materials are made in Minecraft. In order to craft something, players must move items from their inventory to a crafting grid. A 2×2 crafting grid minecraft recipe
Iron Ingot+
Stone Pressure Plate+
Redstone











6

Natural generation

Detector rails can be found in 27.1% of chest minecarts Minecart with Chest Type Vehicles Durability N/A Renewable Yes Stackable No Internal ID PC: 43 PE: 98 Network ID PC: 10 Entity ID chest_minecart Drops 1 Minecart 1 Chest plus contents Health points 6 () minecraft in abandoned mineshafts Abandoned mineshaft Biome Any Consists of Wooden Planks Fence Rail Torch Cobweb Dirt Monster Spawner Minecart with Chest Can generate post-generation No First appearances See history "Mine" redirects here. For information about mining, see Mining. minecraft in stacks of 1⃢₀ₓ4.

Usage

A detector rail can be used as a rail that can detect when minecarts Minecart Type Vehicles Durability N/A Renewable Yes Stackable No Internal ID PC: 42 PE: 84 Network ID PC: 10 Entity ID minecart Drops Minecart (1) Health points 6 () First appearances See History Data value minecraft are on it or how full container minecarts on it are.

To place a detector rail, use the Place Block control Minecraft uses the standard control scheme of mouse and keyboard controls as input. The game cannot be played using only a mouse or only a keyboard using the default control scheme. The controls menu is minecraft on the face of a block adjacent to the destination space.

A detector rail can be attached to:

A detector rail cannot be attached to the side or bottom of any block, but attempting to make such an attachment may cause the detector rail to attach to the top of a block under the destination space. For instance, if a fence is on the ground, attempting to attach a detector rail to the side of the fence will cause the detector rail to be attached to the top of the ground next to the fence instead.

When placed, a detector rail will configure itself to line up with any adjacent rails Rail Transparency Yes Luminance No Blast resistance 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data value dec: 66 hex: 42 bin: 1000010 Name rail See the standard rail. For other uses, minecraft (including activator rails Activator Rail Transparency Yes Luminance No Blast resistance 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data values See Data values Name activator_rail An activator rail is a type of rail that minecraft , powered rails Powered Rail Transparency Yes Luminance No Blast resistance 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data value dec: 27 hex: 1B bin: 11011 Name golden_rail A powered rail is a type of rail that minecraft , and other detector rails Detector Rail Transparency Yes Luminance No Blast resistance 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data value dec: 28 hex: 1C bin: 11100 Name detector_rail A detector rail is a block that can transport minecraft ), 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 will line up in the east-west direction. If there are no adjacent rails, a detector rail will line up in the north-south direction (but if a rail is later placed to the east or west, the detector rail will re-orient 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 will slant upwards towards it (with multiple options to slant upwards to, a detector rail "prefers", in order: west, east, south, and north). Other configurations can be created by placing and removing various rails.

Mobs "Monster" redirects here. For the mob called "monster" in the code, see Human. Mobs are living, moving game entities. The term "mob" is short for "mobile". 1] Contents 1 Spawning 2 Behavior 3 List of minecraft will not try to walk across a detector rail (or other rails), but can be pushed onto them.

Rail

Detector rails (and other rails) act as "roads" for minecarts Minecart Type Vehicles Durability N/A Renewable Yes Stackable No Internal ID PC: 42 PE: 84 Network ID PC: 10 Entity ID minecart Drops Minecart (1) Health points 6 () First appearances See History Data value minecraft . A minecart that enters a detector rail`s space from either end of the detector rail will continue to move, losing only a little velocity (which can then be increased again with powered rails Powered Rail Transparency Yes Luminance No Blast resistance 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data value dec: 27 hex: 1B bin: 11011 Name golden_rail A powered rail is a type of rail that minecraft ). A minecart that enters a detector rail`s space from the side will turn east or south (depending on the detector rail`s orientation), or in the downward direction for a slanted detector rail.

Redstone component

Example for signal strength of a full minecart (27 stacks) and a half-full one (14 stacks)
See also: Redstone circuit

A detector rail activates when any minecart is on it (even if only a portion of the minecart is on it), and deactivates when no minecarts are on it. While active, a detector rail:

Comparators only give a signal for a minecart with chest or a minecart with hopper

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 will output 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 player or a villager riding it) the comparator`s output is zero.

Data values

A detector rail has the ID name minecraft:detector_rail and is further defined by its block data. A detector rail also has a block state ch is expected to replace the functionality of block data in a future version.

Block data

See also: Data values

A detector rail`s block data stores its orientation and activation status:

Bits Values
0x1
0x2
0x4

A three-bit field storing a value from 0 to 5:

  • 0: flat track going north-south
  • 1: flat track going west-east
  • 2: sloped track ascending to the east
  • 3: sloped track ascending to the west
  • 4: sloped track ascending to the north
  • 5: sloped track ascending to the south
0x8 Set if rail is active.

Block state

See also: Block states
Name See values from the latest PC version of Minecraft. For values from Classic, see Data values/Classic. For values from Indev, see Data values/Indev. For values from the Pocket Edition, see Pocket Edition minecraft Value Description

⃂powered
true
false
True if rail is activated.

⃂shape
north_south
east_west
Specifies the rail`s orientation.
ascending_north
ascending_south
ascending_east
ascending_west
A rail that ascends towards the direction noted.
For instance, an ascending_west rail is a straight rail that goes upwards from the east towards the west.

Video

History

Beta
1.5 Added detector rails.
Official release
1.5 13w10a Added texture for active detector rails.
1.9 15w44a Detector rails can now be found in abandoned mineshaft chest minecarts Minecart with Chest Type Vehicles Durability N/A Renewable Yes Stackable No Internal ID PC: 43 PE: 98 Network ID PC: 10 Entity ID chest_minecart Drops 1 Minecart 1 Chest plus contents Health points 6 () minecraft .
1.11 16w32b All rail types` hitbox heights are decreased from a full block to a half block.
Pocket Edition Alpha
0.13.0 build 1 Added detector rails.
Console Edition
TU1 CU1 1.0 Patch 1 Added detector rails.

Issues

Issues relating to ⃢₀ₜDetector Rail⃢₀₝ are maintained on the issue tracker. Report issues there.


Sources

Detector rails can be found in the Chest Minecarts of Abandoned Mineshafts. Alternatively, they can be made in a Crafting Table using the following arrangement:

Powered Rail
x6
Iron Ingot
None
Iron Ingot
Iron Ingot
Stone Pressure Plate
Iron Ingot
Iron Ingot
Redstone
Iron Ingot

Uses

Detector rails can be used for many things. One train station-like feature could be activating a Note Block to indicate that a minecart is approaching, or a note block in conjunction with a redstone torch to have a grade crossing signal. It is easiest to simply wire a series of 4-6 detector rails, one around every 20 blocks, to a note block and an inverter that powers a Redstone Torch. As the cart passes each detector rail, it will trigger the circuit for one flash of the torch and a chime, thus giving you 4-6 chimes before the cart reaches the crossing. Additionally, they can be used to create a one-way gate to a Powered Rail, with any carts coming the other way slowing down if not stopping completely. They also can be used to activate dispensers to create a minecart-friendly mob trap. They can also trigger the TNT in a Minecart with TNT, due to their ability to activate redstone.