//Station
概要
Stationサインは駅を作ることができ、駅では秒数を設定して列車を停めたり発車させたりすることができます。レッドストーン信号で発車する方向を設定できますが、両側から信号が来ている場合は自動動作が行われます。
記法
一行目
[train]を書いた場合、サインの真上部分には列車のちょうど真ん中のトロッコがくるように停車します。[cart]の場合は、列車が通過する際に先頭のトロッコが即座に停車します。
二行目
stationに加え、引数を追加で指定できます。引数は列車を発車させる距離を指定でき、この数字が大きいほど、ゆっくり動き出します。stationだけを記述した場合、プラグイン側で自動的に距離の計算が行われます。計算は、百ブロック先のカーブまで勘案に入れられます。
また『センターオフセット』の数値を指定すると、駅に停車する列車の位置を調整することができます。センターオフセットは20.5mのように、<距離>mと記述します。
次のStationサインの例では、停車時の車両の中心位置を12.5ブロックのオフセットに指定します。また、10秒間停車した後、30ブロック先へ向けて発車します。
三行目
An optional delay in seconds. This delay is used when launching. For example, when the right side is powered and a delay of 3 seconds is set, and a train enters, the train will wait for 3 seconds and then launch into the powered direction.
Fourth line
Sets the mode used when both sides are powered. The station sign will launch trains into the direction that is powered. If the sign receives no power whatsoever, it is not active and trains will travel right through. The inverted redstone option ([!train]) is still active here, so if power is inverted and the sign receives no power, it is as if all sides a powered.
The station will hold the train forever if both sides are powered, unless one of the below four types is set on the fourth line:
| Sign | Result |
|---|---|
| |
| |
| |
|
Auto Routing
Instead of specifying a fixed direction, route can be put instead. This will make the station sign part of the path finding network, and launches the train into the most appropriate direction to reach its destination.
This will route the train to its destination, if set. Otherwise, resumes the train in the same direction it was approaching the station.
Launch Speed
A number can also be put on the fourth line to set the launch speed of the station sign.
Lever Output
While a train is waiting on the station, the station toggles levers attached to the same block the station sign is attached to. This can be used to, for example, change the player exit property, open doors or automatically eject the players inside.






