Difference between revisions of "TrainCarts/Train Spawn Chest/zh-cn"
(Updating to match new version of source page) |
(Created page with "thumb|列车生成箱用于收起列车和放置生成。|link=File:Train_Spawn_Chest.gif '''列车生成箱'''可以保存列车信息并...") |
||
Line 5: | Line 5: | ||
== 介绍 == | == 介绍 == | ||
− | + | [[File:Train_Spawn_Chest_Small.gif|thumb|列车生成箱用于收起列车和放置生成。|link=File:Train_Spawn_Chest.gif]] | |
− | [[File:Train_Spawn_Chest_Small.gif|thumb| | + | '''列车生成箱'''可以保存列车信息并储存列车。手持该物品时,玩家可以右键单击列车来将列车''收入''其中。之后可以手持物品并右键单击轨道,即可将储存的列车释放出来(列车的所有属性均保持原样)。 |
− | |||
− | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 06:06, 27 September 2024
介绍
列车生成箱可以保存列车信息并储存列车。手持该物品时,玩家可以右键单击列车来将列车收入其中。之后可以手持物品并右键单击轨道,即可将储存的列车释放出来(列车的所有属性均保持原样)。
Spawning on rails close to another train will add additional connected carts to that train. The orientation of looking at the rails changes in what orientation the new train is spawned.
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 |