Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement
Disambig gray  本文章介绍的是探测铁轨。关于其他的开关器件,请见“开关”。


探测铁轨
Detector Rail
稀有度

Java版常见
基岩版常见

创造标签页JE

工具与实用物品,红石方块

创造分类BE

物品

合适挖掘工具

Java版
基岩版

硬度

Java版0.7
基岩版0.7

爆炸抗性

Java版0.7
基岩版0.7

引燃几率

Java版0
基岩版0

烧毁几率

Java版0
基岩版0

熔岩可燃性

Java版
基岩版

窒息生物

Java版
基岩版

红石导体

Java版
基岩版

最大堆叠

Java版64
基岩版64

亮度

光照透明

可再生

?

命名空间ID

detector_rail

探测铁轨(Detector Rails)是一种功能类似于压力板铁轨,它也是第一个铁轨开关

当任何一种矿车在探测铁轨的上方时,它会产生一个红石信号。此信号会传输到相邻的方块(包括动力铁轨)以及放置在其下方的红石,就和压力板一样。

制作

制作探测铁轨与普通的铁轨一样,但使用压力板来代替木棍,并加上了红石。

材料 输入 » 输出
铁锭 +
石质压力板 +
红石粉

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.

Detector rails can be used with a memory cell to power powered rails for long tracks.

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 arrow shooters to create a minecart-friendly mob trap.

As a defense mechanism in multi-player or for your own challenge, you can make a rectangle using powered rails, regular rails, and detector rails. Then, make a box around it with glass (except the floor). At every detector rail have a redstone wire leading to a dispenser filled with arrows. When you begin the movement of the mine carts they'll pass over the detector, firing the arrows in a constant pattern until you run out of ammo. It is also good for speed killing by filling a hole with mobs and slaughtering the mobs inside; you can get a lot of resources this way.

Bugs

  • Detector rails placed on slopes do not work reliably. They will only turn on if the minecart is traveling slowly, and will usually not activate at all if the minecart is traveling at maximum speed.
  • A detector rail being used to change direction on a T shaped track will work as intended from one direction but if the cart is going fast enough from the other the plate can trigger early[1]
  • A detector rail powering a line of redstone will continue to power the line for a short time in the absence of a cart on the rail if the detector rail is moved away and back by a Sticky Piston (the cart is not retracted with the rail).

History

  • When the detector rail was first added to the game it could not be placed next to any rail without the game crashing due to a bug.
  • If a detector rail was placed on a slope and the next rail had the opposite slope, the detector only generated signals for occupied carts (like a stone pressure plate). This bug was fixed in 1.6.

References

Advertisement