TrainCarts/Signs/Ejector [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "=== 三行目 ===")
(Created page with "二行目に'''eject'''が指定されているとき、トロッコから見た相対的な位置を記述し、そこに下車させます。座標は三つの値をスラッシュ記号で区切り、それぞれ戦後の位置、上下の位置、左右の位置となります。 たとえば、'''0/0/4'''を指定すると列車の左側に下車させます。")
Line 20: Line 20:
=== 三行目 ===
=== 三行目 ===


<div lang="en" dir="ltr" class="mw-content-ltr">
二行目に'''eject'''が指定されているとき、トロッコから見た相対的な位置を記述し、そこに下車させます。座標は三つの値をスラッシュ記号で区切り、それぞれ戦後の位置、上下の位置、左右の位置となります。
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.<br>
たとえば、'''0/0/4'''を指定すると列車の左側に下車させます。
Example (left of the train): '''0/0/4'''
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 05:29, 19 June 2026

Other languages:

概要

Ejectorサインは、トロッコの乗客を下車させます。たとえば駅で自動的に乗客を降ろすことができます。列車の全乗客でも、個々のトロッコの乗客でも対象に取ることが可能です。

サインの動作にはレッドストーン信号や[+train]などの使用が必要です。


記法

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


一行目[train]で列車が含むすべてのトロッコから、[cart]で個別のトロッコから下車させます。

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


三行目

二行目にejectが指定されているとき、トロッコから見た相対的な位置を記述し、そこに下車させます。座標は三つの値をスラッシュ記号で区切り、それぞれ戦後の位置、上下の位置、左右の位置となります。

たとえば、0/0/4を指定すると列車の左側に下車させます。

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


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