/Train Spawn Chest
介紹
存車箱在收納列車時列車的屬性信息也會一併儲存。手持存車箱時,玩家可右鍵目標列車將其收納。之後可手持該存車箱並右鍵軌道,即可將收納的列車釋放出來。
放置列車時如果有另一輛靠得很近的列車,它們會連接在一起。列車的生成方向會隨著玩家目光注視鐵軌的方向而改變。
Permissions & Security
The train spawn chest can be used to duplicate items by picking up a train with chests containing items and spawning it again multiple times. Make sure to revoke the train.command.chest.use permission so that if a spawn chest item falls in the hands of survival players they cannot do this. Alternatively, deny the train.spawner.storage and train.spawner.hopper permissions so that players cannot spawn trains that contain item storage.
用法
要獲取存車箱,需要執行命令:
| Command: | /train chest |
|---|---|
| Permission: | train.command.chest.create |
之後你可以右鍵軌道來生成列車,或右鍵軌道上的列車將列車收進存車箱。 存車箱需要train.command.chest.use權限才能使用。
生成模式
你也可以指定一種列車生成模式將列車收入存車箱,與生成牌使用的模式相同:
| Command: | /train chest mytrain |
|---|---|
| Permission: | train.command.chest.create |
要更新存車箱的生成模式,手持物品並使用:
| Command: | /train chest set mytrain |
|---|---|
| Permission: | train.command.chest.create |
特殊命令
手持物品並使用:
| 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 |
給予其他玩家
你可以將配置好的物品提供給其他玩家。該命令也可以通過命令方塊執行,支持使用@p。
| Command: | /train chest give <玩家名稱> |
|---|---|
| Permission: | train.command.chest.create |
這個命令支持所有相同的更新選項,標籤除外。
| Command: | /train chest give bergerkiller --finite --locked --train Intercity01 |
|---|---|
| Permission: | train.command.chest.create |
