/Train Spawn Chest
Jump to navigation
Jump to search
(Updating to match new version of source page) |
No edit summary |
||
| Line 13: | Line 13: | ||
{{Command|train chest|Give the player a new empty train chest item|train.command.chest.create}} | {{Command|train chest|Give the player a new empty train chest item|train.command.chest.create}} | ||
之后你可以右键单击轨道来生成列车,或右键铁轨上的列车将列车收进箱子。 | |||
使用列车生成箱需要 '''train.command.chest.use''' 权限。 | 使用列车生成箱需要'''train.command.chest.use'''权限。 | ||
Revision as of 07:30, 13 October 2025
介紹
列車生成箱可以保存列車信息並儲存列車。手持該物品時,玩家可以右鍵單擊列車來將列車收入其中。之後可以手持物品並右鍵單擊軌道,即可將儲存的列車釋放出來(列車的所有屬性均保持原樣)。
釋放列車時如果有另一輛靠得很近的列車,則會將其連結在一起。列車的生成方向會隨着注視鐵軌的視角方向而變化。
用法
要獲得這個物品,你需要輸入命令:
| 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 PlayerName |
|---|---|
| Permission: | train.command.chest.create |
這個命令支持所有相同的更新選項,除了標籤(需驗證)。
| Command: | /train chest give bergerkiller --finite --locked --train Intercity01 |
|---|---|
| Permission: | train.command.chest.create |
