TrainCarts/Train Spawn Chest [zh]

From BergerHealer Wiki
Jump to navigation Jump to search
(Updating to match new version of source page)
No edit summary
Line 2: Line 2:
== 介绍 ==
== 介绍 ==


  [[File:Train_Spawn_Chest_Small.gif|thumb|列车生成箱用于收起列车和放置生成。|link=File:Train_Spawn_Chest.gif]]
  [[File:Train_Spawn_Chest_Small.gif|thumb|存车箱具有收纳存储和放置生成列车的功能。|link=File:Train_Spawn_Chest.gif]]
'''列车生成箱'''可以保存列车信息并储存列车。手持该物品时,玩家可以右键单击列车来将列车''收入''其中。之后可以手持物品并右键单击轨道,即可将储存的列车释放出来(列车的所有属性均保持原样)。
'''存车箱'''在收纳列车时列车的属性信息也会一并储存。手持存车箱时,玩家可右键目标列车,将其''收纳''。之后可手持该存车箱并右键轨道,即可将收纳的列车释放出来。


释放列车时如果有另一辆靠得很近的列车,则会将其链接在一起。列车的生成方向会随着注视铁轨的视角方向而变化。
释放列车时如果有另一辆靠得很近的列车,则会将其链接在一起。列车的生成方向会随着注视铁轨的视角方向而变化。

Revision as of 03:09, 30 October 2025

Other languages:

介紹

存車箱具有收納存儲和放置生成列車的功能。

存車箱在收納列車時列車的屬性信息也會一併儲存。手持存車箱時,玩家可右鍵目標列車,將其收納。之後可手持該存車箱並右鍵軌道,即可將收納的列車釋放出來。

釋放列車時如果有另一輛靠得很近的列車,則會將其鏈接在一起。列車的生成方向會隨着注視鐵軌的視角方向而變化。


用法

要獲得這個物品,你需要輸入命令:

Give the player a new empty train chest item
Command: /train chest
Permission: train.command.chest.create


之後你可以右鍵單擊軌道來生成列車,或右鍵鐵軌上的列車將列車收進生成箱。 使用列車生成箱需要train.command.chest.use權限。


生成模式

你也可以指定一種列車生成模式將列車收入生成箱,與生成牌使用的模式相同:

要更新列車生成箱的生成模式,手持物品並使用:

特殊命令

手持物品並使用:

Makes the item empty
Command: /train chest clear
Permission: train.command.chest.create


Locks the item, preventing it from picking up trains when clicked
Command: /train chest lock
Permission: train.command.chest.create


Unlocks the item so it can pick up trains again
Command: /train chest unlock
Permission: train.command.chest.create


Gives the item a human-readable name to identify it
Command: /train chest name My Train
Permission: train.command.chest.create


Makes the chest item have finite (1) or infinite number of spawns
Command: /train chest finite yes
Permission: train.command.chest.create


Makes the chest item spawn the train with an initial speed of 2 blocks/tick
Command: /train chest speed 2.0
Permission: train.command.chest.create


給予其他玩家

你可以將配置好的物品提供給其他玩家。該命令也可以通過命令方塊執行,支持@p語法。

這個命令支持所有相同的更新選項,除了標籤(需驗證)。