RailSwitch: Difference between revisions
Shoehorn link to Rail Mechanics
Metriximor (talk | contribs) m (Added a buncha categories) |
(Shoehorn link to Rail Mechanics) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Mechanics series}}
'''RailSwitch'''
= Usage =
Line 6 ⟶ 7:
== Block placement ==
A sign with the destination name on it must be placed over a detector rail and reinforced under the same group. The sign first line must be <code>[destination]</code>, then the other three lines can be destination names. They have to be placed before the T-junction. You may also use <code>[!destination]</code>, which will activate the rail if a player's destination is not on the signs.<ref name=":0" />
<center>
{|
Line 15 ⟶ 17:
== Interaction ==
Upon passing on the detector rail, the redstone signal will activate only if the player on the minecart chose a direction written on the sign. If it's the case, the detector rail will send a signal which will allow the T-junction to change direction,
[[File:RailSwitchRailChanging.png|thumb|When the redstone signal is sent, the T-junction change direction]]
Additionally, the destination <code>*</code> is a special case, which activates the detector rail if the player has any destination set, which can be used to redirect rogue carts and players who've forgotten to set their destination.
== Direction of the rail ==
Line 34 ⟶ 37:
== References ==
<references />
[[Category:
{{Template:Mechanics}}
|