Difference between revisions of "TrainCarts/Signs/Ejector"

From BergerHealer Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
'''First line:''' ''[train]'' to eject all minecarts in the train, ''[cart]'' to eject minecarts individually
 
'''First line:''' ''[train]'' to eject all minecarts in the train, ''[cart]'' to eject minecarts individually
  
'''Second line:''' ''eject ('''eject at''' for ejecting at cords, third line: x/y/z)''
+
'''Second line:''' ''eject'' to teleport relative to the minecarts, ''eject at'' to teleport at absolute world coordinates
  
 
=== Third line ===
 
=== Third line ===
 +
When '''eject''' is used on the second line:<br>
 +
Optional offset to eject players, relative to the minecarts. Offset 'axis' are delimited by '/'-signs. The first value sets the forward/backward offset, the second up/down and the third left/right.
  
Optional offset to eject players, relative to the minecarts. Offset 'axis' are delimited by '/'-signs. The first value sets the forward/backward offset, the second up/down and the third left/right.
+
When '''eject at''' is used on the second line:<br>
 +
The exact x/y/z world coordinates to teleport the players to
  
 
=== Fourth line ===
 
=== Fourth line ===

Revision as of 19:57, 18 August 2022

« Go back

Introduction

The ejector sign can eject (let exit) passengers of minecarts. You can place it at a station to eject the entire train in one go, or do it for carts individually.

The sign requires power to work.

Syntax

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

First line: [train] to eject all minecarts in the train, [cart] to eject minecarts individually

Second line: eject to teleport relative to the minecarts, eject at to teleport at absolute world coordinates

Third line

When eject is used on the second line:
Optional offset to eject players, relative to the minecarts. Offset 'axis' are delimited by '/'-signs. The first value sets the forward/backward offset, the second up/down and the third left/right.

When eject at is used on the second line:
The exact x/y/z world coordinates to teleport the players to

Fourth line

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