/Train Spawn Chest
Saihou-Heiki (talk | contribs) (Created page with "列車をスポーンさせるとき、他の列車が近くにあると連結します。また、スポーン時の車両の向きはプレイヤーの向いている方向によって決まります。") |
Saihou-Heiki (talk | contribs) (Created page with "== 権限とセキュリティ == スポーンチェストはチェスト付きトロッコを収納することで、アイテム増殖バグのように、あらゆるアイテムを複製するのに使えます。そのため、サバイバルでは'''train.command.chest.use'''権限を剥奪するなど、権限を適切に管理してください。また、'''train.spawner.storage'''や'''train.spawner.hopper'''の権限はアイテムを内包した列車をス...") |
||
| Line 7: | Line 7: | ||
列車をスポーンさせるとき、他の列車が近くにあると連結します。また、スポーン時の車両の向きはプレイヤーの向いている方向によって決まります。 | 列車をスポーンさせるとき、他の列車が近くにあると連結します。また、スポーン時の車両の向きはプレイヤーの向いている方向によって決まります。 | ||
== 権限とセキュリティ == | |||
スポーンチェストはチェスト付きトロッコを収納することで、アイテム増殖バグのように、あらゆるアイテムを複製するのに使えます。そのため、サバイバルでは'''train.command.chest.use'''権限を剥奪するなど、権限を適切に管理してください。また、'''train.spawner.storage'''や'''train.spawner.hopper'''の権限はアイテムを内包した列車をスポーンさせられないようにすることもできます。 | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Revision as of 01:53, 17 June 2026
概要
トレインチェストは、列車の情報を保持できる特殊アイテムです。これを持って列車を右クリックすると、アイテム内に列車が格納されます。その後、レールの上でまた右クリックすると、先程格納した列車がスポーンします。その列車に関するあらゆるプロパティは保存されます。
列車をスポーンさせるとき、他の列車が近くにあると連結します。また、スポーン時の車両の向きはプレイヤーの向いている方向によって決まります。
権限とセキュリティ
スポーンチェストはチェスト付きトロッコを収納することで、アイテム増殖バグのように、あらゆるアイテムを複製するのに使えます。そのため、サバイバルではtrain.command.chest.use権限を剥奪するなど、権限を適切に管理してください。また、train.spawner.storageやtrain.spawner.hopperの権限はアイテムを内包した列車をスポーンさせられないようにすることもできます。
Usage
To get the item, you need to use the following command:
| Command: | /train chest |
|---|---|
| Permission: | train.command.chest.create |
You can then right-click on rails to spawn a train there, or right-click existing trains to suck them into the item. For this you also need the train.command.chest.use permission.
Spawn Pattern
You can also specify a train spawn pattern for the train to put in the item, the same pattern as used on the spawn sign:
| Command: | /train chest mytrain |
|---|---|
| Permission: | train.command.chest.create |
To update the pattern stored in the spawn chest, hold the item to update and use:
| Command: | /train chest set mytrain |
|---|---|
| Permission: | train.command.chest.create |
Special Commands
Hold the item to update and use:
| Command: | /train chest clear |
|---|---|
| Permission: | train.command.chest.create |
| Command: | /train chest lock |
|---|---|
| Permission: | train.command.chest.create |
| Command: | /train chest unlock |
|---|---|
| Permission: | train.command.chest.create |
| Command: | /train chest name My Train |
|---|---|
| Permission: | train.command.chest.create |
| Command: | /train chest finite yes |
|---|---|
| Permission: | train.command.chest.create |
| Command: | /train chest speed 2.0 |
|---|---|
| Permission: | train.command.chest.create |
Giving to other players
You can give a completely configured item to other players. This command can also be executed from command blocks, and supports the @p syntax for that purpose.
| Command: | /train chest give PlayerName |
|---|---|
| Permission: | train.command.chest.create |
This command supports all the same updating options but as flags.
| Command: | /train chest give bergerkiller --finite --locked --train Intercity01 |
|---|---|
| Permission: | train.command.chest.create |
