Difference between revisions of "TrainCarts/Train Spawn Chest/zh-cn"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "TrainCarts/列车生成箱")
 
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
+
[[Special:MyLanguage/TrainCarts|« 返回]]
[[Special:MyLanguage/TrainCarts|« Go back]]
 
</div>
 
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
== 介绍 ==
== Introduction ==
 
</div>
 
  
  <div lang="en" dir="ltr" class="mw-content-ltr">
+
  [[File:Train_Spawn_Chest_Small.gif|thumb|列车生成箱用于收起列车和放置生成。|link=File:Train_Spawn_Chest.gif]]
[[File:Train_Spawn_Chest_Small.gif|thumb|Train spawn chest is used to pick up a train and spawn it again|link=File:Train_Spawn_Chest.gif]]
+
'''列车生成箱'''可以保存列车信息并储存列车。手持该物品时,玩家可以右键单击列车来将列车''收入''其中。之后可以手持物品并右键单击轨道,即可将储存的列车释放出来(列车的所有属性均保持原样)。
The '''Train spawn chest''' is a special item that can hold train information. While holding the item players can right-click on trains to ''suck up'' the train into the item. Then, by right-clicking on rails, players can spawn the train again. All train properties are preserved.
 
</div>
 
  
 +
释放列车时如果有另一辆靠得很近的列车,则会将其链接在一起。列车的生成方向会随着注视铁轨的视角方向而变化。
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
 
== Usage ==
+
== 用法 ==
To get the item, you need to use the following command:
+
要获得这个物品,你需要输入命令:
</div>
 
  
 
{{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}}
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
之后你可以右键单击轨道来生成列车,或右键铁轨上的列车将列车收入进物品。
You can then right-click on rails to spawn a train there, or right-click existing trains to suck them into the item.
+
使用列车生成箱需要 '''train.command.chest.use''' 权限。
For this you also need the '''train.command.chest.use''' permission.
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
 
You can also specify a train to put in the item, which follows the same syntax as the [[Special:MyLanguage/TrainCarts/Signs/Spawner|spawn sign]].
+
=== 生成模式 ===
</div>
+
你也可以指定一种[[Special:MyLanguage/TrainCarts/Spawning|列车生成方式]]来将列车收入列车生成箱,与[[Special:MyLanguage/TrainCarts/Signs/Spawner|生成牌]]使用的模式相同:
 
{{Command|train chest mytrain|Give the player a new empty train chest item with a pre-configured train inside|train.command.chest.create}}
 
{{Command|train chest mytrain|Give the player a new empty train chest item with a pre-configured train inside|train.command.chest.create}}
  
 +
要更新列车生成箱的生成模式,手持物品并使用:
 +
{{Command|train chest set mytrain|Put a new train inside the item, [[Special:MyLanguage/TrainCarts/Spawning|spawn pattern syntax]]|train.command.chest.create}}
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 特殊命令 ===
=== Updating ===
+
手持物品并使用:
You can also update an existing train chest item, without getting a new item every time. The player has to hold the chest item, then use one of the following commands:
 
</div>
 
 
 
{{Command|train chest set mytrain|Put a new train inside the item, spawn sign syntax|train.command.chest.create}}
 
  
 
{{Command|train chest clear|Makes the item empty|train.command.chest.create}}
 
{{Command|train chest clear|Makes the item empty|train.command.chest.create}}
Line 52: Line 42:
 
{{Command|train chest speed 2.0|Makes the chest item spawn the train with an initial speed of 2 blocks/tick|train.command.chest.create}}
 
{{Command|train chest speed 2.0|Makes the chest item spawn the train with an initial speed of 2 blocks/tick|train.command.chest.create}}
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 给予其他玩家 ===
=== Giving to other players ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
你可以将完全配置好的物品给予其他玩家。该命令也可以通过命令方块执行,并支持 @p 语法。
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.
 
</div>
 
 
{{Command|train chest give PlayerName|Gives a train chest item to a player|train.command.chest.create}}
 
{{Command|train chest give PlayerName|Gives a train chest item to a player|train.command.chest.create}}
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
这个命令支持所有相同的更新选项,除了标签(需验证)。
This command supports all the same updating options but as flags.
 
</div>
 
 
{{Command|train chest give bergerkiller --finite --locked --train Intercity01|Gives a single-use spawn chest that spawns the Intercity01 train. Can not be used to pick up trains.|train.command.chest.create}}
 
{{Command|train chest give bergerkiller --finite --locked --train Intercity01|Gives a single-use spawn chest that spawns the Intercity01 train. Can not be used to pick up trains.|train.command.chest.create}}

Latest revision as of 06:28, 27 September 2024

Other languages:
English • ‎中文(中国大陆)‎

« 返回


介绍

列车生成箱用于收起列车和放置生成。

列车生成箱可以保存列车信息并储存列车。手持该物品时,玩家可以右键单击列车来将列车收入其中。之后可以手持物品并右键单击轨道,即可将储存的列车释放出来(列车的所有属性均保持原样)。

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


用法

要获得这个物品,你需要输入命令:

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


之后你可以右键单击轨道来生成列车,或右键铁轨上的列车将列车收入进物品。 使用列车生成箱需要 train.command.chest.use 权限。


生成模式

你也可以指定一种列车生成方式来将列车收入列车生成箱,与生成牌使用的模式相同:

Give the player a new empty train chest item with a pre-configured train inside
Command: /train chest mytrain
Permission: train.command.chest.create


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

Put a new train inside the item, spawn pattern syntax
Command: /train chest set mytrain
Permission: train.command.chest.create


特殊命令

手持物品并使用:

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 语法。

Gives a train chest item to a player
Command: /train chest give PlayerName
Permission: train.command.chest.create


这个命令支持所有相同的更新选项,除了标签(需验证)。

Gives a single-use spawn chest that spawns the Intercity01 train. Can not be used to pick up trains.
Command: /train chest give bergerkiller --finite --locked --train Intercity01
Permission: train.command.chest.create