Detector Rail

From Minecraft Wiki

Lua error in package.lua at line 80: module 'Module:Navbar/configuration' not found. xcxcxxcxcxcx

A detector rail is a block that can transport minecarts and can be used as a switchable redstone power source.

Obtaining

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

Loot

From block loot

Detector rails can be broken fairly easily by hand, but can be broken faster by using a pickaxe.

Template:Loot table

From chest loot

Template:LootChestItem

Recipes

From crafting

Template:Crafting

Usage

Info

A detector rail can be used as a rail that can detect when minecarts are on it or how full container minecarts on it are.

To place a detector rail, use the Template:Control control 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 example, if a fence is on the ground, attempting to attach a detector rail to the side of the fence causes the detector rail to be attached to the top of the ground next to the fence instead.

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.

Breaking

To remove a detector rail, Template:Control it. Detector rails can be broken fairly easily by hand, but can be broken faster by using a pickaxe. |bgcolor="#"|?

An detector rail also drops as an item when the block beneath it is removed, water or lava flows over it,‌[Java Edition only] or a piston moves it into a space with no floor below it.

Block loot

Template:Loot table

Rail

Main article: Rail

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.

Redstone component

File:Detector comparator strength.gif
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. The length of the signal is always a multiple of 10 redstone ticks (although lag or unloading/reloading a chunk might affect this). While active, a detector rail:

File:Detector-comparator-diff.png
Comparators 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 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.

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.

Sounds

Template:ConvertToSoundTable

Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Template:Sound Block breaking block.metal.hit subtitles.block.generic.hit Blocks 0.75 0.25 16
Template:Sound Block broken block.metal.break subtitles.block.generic.break Blocks 1.2 1.0 16
Template:Sound Block placed block.metal.place subtitles.block.generic.place Blocks 1.2 1.0 16
Template:Sound Footsteps block.metal.step subtitles.block.generic.footsteps Blocks 1.5 0.15 16
Template:Sound No subtitle block.metal.fall (Plays when fallen on from a height) Blocks 1.125 0.5 16

Data values

ID

Template:Edition: Template:ID table

Template:Edition: Template:ID table

Block data

See also: Data values

In Bedrock Edition, a detector rail's block data stores its orientation and activation status: Powered Rail/DV

Block states

See also: Block states Powered Rail/BS

Video

History

youarecrazyright youarecrazyright youarecrazyright youarecrazyright youarecrazyright youarecrazyright youarecrazyright youarecrazyright youarecrazyright

youarecrazyright youarecrazyright youarecrazyright youarecrazyright youarecrazyright

youarecrazyright youarecrazyright youarecrazyright

youarecrazyright youarecrazyright youarecrazyright

Issues

Template:Issue list

See also


Template:Redstone

de:Sensorschiene fr:Rails détecteurs it:Binario ja:ディテクターレール ko:탐지 레일 nl:Detectiespoor pl:Tory z czujnikiem ru:Нажимные рельсы zh:探测铁轨