TrainCarts/Signs/Enter [ja]

From BergerHealer Wiki
Revision as of 07:02, 16 June 2026 by Saihou-Heiki (talk | contribs) (Created page with "''enter''と書きます。同時に、乗せるモブやプレイヤーを探す範囲を指定できます。''s''を範囲の後につけると範囲は立体的な球状になり、そうでない場合は高さ1の筒型――つまり円形の平面――になります。下や上にいるプレイヤーを乗車させたくないときには、sをつけないようにするとよいでしょう。")
Jump to navigation Jump to search
Other languages:

概要

Enterサインは、近くにいるプレイヤーやモブを列車に乗車させます。このサインは列車のallowenterプロパティを上書きするため、このサインの機能を維持したまま、プレイヤーが手動で乗車を拒否することもできます。


記法

Signtemplate.png
[train]
enter 3s
player mob
no


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


二行目

enterと書きます。同時に、乗せるモブやプレイヤーを探す範囲を指定できます。sを範囲の後につけると範囲は立体的な球状になり、そうでない場合は高さ1の筒型――つまり円形の平面――になります。下や上にいるプレイヤーを乗車させたくないときには、sをつけないようにするとよいでしょう。


三行目

What type of entities this sign operates on. By adding mob mobs will enter, by adding player players will enter. misc will let in other types of entities, like armor stands. When this line is left empty only players enter the minecarts. You can allow both mobs and players by appending them, for example player mob


Fourth line

Sets whether to look around the sign for players/mobs to enter, or whether to look around each individual minecart. By specifying 'yes/true' it will look around the sign, by specifying 'no/false' or by leaving the line empty it will look around each minecart.


Remote Control

You can remotely make trains take in passengers. Say your train is called train01, then you use the following on the sign:

Signtemplate.png
[train train01]
enter 5
player
yes


Then it will teleport all players near the enter sign into the train named train01. Note that long-distance teleportation (between worlds or far away) will likely fail, so keep the RC sign near the train when using this.