TrainCarts/控制牌/弹出

From BergerHealer Wiki
Revision as of 04:39, 14 September 2024 by Halogly (talk | contribs)
Jump to navigation Jump to search
Other languages:
English • ‎中文(中国大陆)‎

« 返回


介绍

弹出牌可以弹出矿车中的乘客(让他们离开)。你可以在车站放置这个控制牌来一次性弹出所有乘客,或只弹出单个矿车的乘客。

弹出牌需要红石激活才能运作。


语法

Signtemplate.png
[train]
eject
0/12/12
90/0

第一行:[train] 弹出列车中所有车厢的乘客,[cart] 只弹出单个矿车上的乘客。

第二行:eject 相对于矿车位置传送,eject at 使用世界绝对坐标传送。


第三行

当第二行使用 eject 时:
相对于矿车弹出乘客的偏移量(可选)。偏移'轴'由 '/' 分隔。第一个值为前后偏移量,第二个值为上下偏移量,第三个值为左右偏移量。
示例(列车的左侧):0/0/4

当第二行使用 eject at 时:
使用 x/y/z 格式表示乘客弹出的位置。
示例:154/67/-2442


第四行

Optional angle players look to after being ejected. The first value sets the 'yaw', the angle to look left and right (90 is straight ahead, 180 is to the right, 0 to the left and 270 is facing backwards). The second sets the 'pitch', the angle to look up (negative) and down (positive).


Remote Control

You can remotely eject trains too. Say your train is called train01, then you use the following on the sign:

Signtemplate.png
[train train01]
eject
0/2/0