Difference between revisions of "TrainCarts/Signs/Station/zh-cn"
(Created page with "''Station'',后可跟数值。这个数值表示列车的启动距离。数值越高,启动速度就越慢。不加数值则插件会自动计算启动距离,之后会...") |
(Created page with "你还可以指定'中心偏移量',用于改变列车停靠车站的位置。还可以通过指定 '''<距离数值>m''' 来修改,例如 ''''20.5m''''。") |
||
Line 22: | Line 22: | ||
''Station'',后可跟数值。这个数值表示列车的启动距离。数值越高,启动速度就越慢。不加数值则插件会自动计算启动距离,之后会将列车启动到最远 100 格方块内的第一个弯轨道上。 | ''Station'',后可跟数值。这个数值表示列车的启动距离。数值越高,启动速度就越慢。不加数值则插件会自动计算启动距离,之后会将列车启动到最远 100 格方块内的第一个弯轨道上。 | ||
− | + | 你还可以指定'中心偏移量',用于改变列车停靠车站的位置。还可以通过指定 '''<距离数值>m''' 来修改,例如 ''''20.5m''''。 | |
− | |||
− | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 16:53, 17 September 2024
介绍
车站用于停止和启动列车,可设置停止时间(以秒为单位)。车站会将红石信号输入的方向作为列车的启动方向,当两边都有红石信号输入时,车站会自动设置列车的启动方向。
语法
第一行
使用 [train] 时,列车的中心位置(比如列车中间的矿车)会停在车站牌的上方。当使用 [cart] 时,列车会立即停止,第一辆矿车会停在车站牌的上方。
第二行
Station,后可跟数值。这个数值表示列车的启动距离。数值越高,启动速度就越慢。不加数值则插件会自动计算启动距离,之后会将列车启动到最远 100 格方块内的第一个弯轨道上。
你还可以指定'中心偏移量',用于改变列车停靠车站的位置。还可以通过指定 <距离数值>m 来修改,例如 '20.5m'。
The below station sign will launch a train 30 blocks away, and center the train with a 12.5 block offset above the sign. The train waits for 10 seconds and then continues:
第三行
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.
第四行
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.
启动速度
第四行也可以输入数字,以设定站牌的启动速度。
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.