Train Spawn Chest
/
Jump to navigation
Jump to search
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 11: | Line 11: | ||
要获得这个物品,你需要输入命令: | 要获得这个物品,你需要输入命令: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{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> | |||
之后你可以右键单击轨道来生成列车,或右键铁轨上的列车将列车收入进物品。 | 之后你可以右键单击轨道来生成列车,或右键铁轨上的列车将列车收入进物品。 | ||
Line 17: | Line 19: | ||
<div class="mw-translate-fuzzy"> | |||
=== 生成模式 === | === 生成模式 === | ||
你也可以指定一种[[Special:MyLanguage/TrainCarts/Spawning|列车生成方式]]来将列车收入列车生成箱,与[[Special:MyLanguage/TrainCarts/Signs/Spawner|生成牌]]使用的模式相同: | 你也可以指定一种[[Special:MyLanguage/TrainCarts/Spawning|列车生成方式]]来将列车收入列车生成箱,与[[Special:MyLanguage/TrainCarts/Signs/Spawner|生成牌]]使用的模式相同: | ||
</div> | |||
<div class="mw-translate-fuzzy"> | |||
要更新列车生成箱的生成模式,手持物品并使用: | 要更新列车生成箱的生成模式,手持物品并使用: | ||
</div> | |||
=== 特殊命令 === | === 特殊命令 === | ||
手持物品并使用: | 手持物品并使用: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{Command|train chest clear|Makes the item empty|train.command.chest.create}} | {{Command|train chest clear|Makes the item empty|train.command.chest.create}} | ||
{{Command|train chest lock|Locks the item, preventing it from picking up trains when clicked|train.command.chest.create}} | {{Command|train chest lock|Locks the item, preventing it from picking up trains when clicked|train.command.chest.create}} | ||
{{Command|train chest unlock|Unlocks the item so it can pick up trains again|train.command.chest.create}} | {{Command|train chest unlock|Unlocks the item so it can pick up trains again|train.command.chest.create}} | ||
{{Command|train chest name My Train|Gives the item a human-readable name to identify it|train.command.chest.create}} | {{Command|train chest name My Train|Gives the item a human-readable name to identify it|train.command.chest.create}} | ||
{{Command|train chest finite yes|Makes the chest item have finite (1) or infinite number of spawns|train.command.chest.create}} | {{Command|train chest finite yes|Makes the chest item have finite (1) or infinite number of spawns|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}} | {{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> | |||
=== 给予其他玩家 === | === 给予其他玩家 === | ||
<div class="mw-translate-fuzzy"> | |||
你可以将完全配置好的物品给予其他玩家。该命令也可以通过命令方块执行,并支持 @p 语法。 | 你可以将完全配置好的物品给予其他玩家。该命令也可以通过命令方块执行,并支持 @p 语法。 | ||
</div> | |||
<div class="mw-translate-fuzzy"> | |||
这个命令支持所有相同的更新选项,除了标签(需验证)。 | 这个命令支持所有相同的更新选项,除了标签(需验证)。 | ||
</div> |
Latest revision as of 17:37, 20 October 2025
介绍
列车生成箱可以保存列车信息并储存列车。手持该物品时,玩家可以右键单击列车来将列车收入其中。之后可以手持物品并右键单击轨道,即可将储存的列车释放出来(列车的所有属性均保持原样)。
释放列车时如果有另一辆靠得很近的列车,则会将其链接在一起。列车的生成方向会随着注视铁轨的视角方向而变化。
用法
要获得这个物品,你需要输入命令:
Command: | /train chest |
---|---|
Permission: | train.command.chest.create |
之后你可以右键单击轨道来生成列车,或右键铁轨上的列车将列车收入进物品。 使用列车生成箱需要 train.command.chest.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 |
给予其他玩家
你可以将完全配置好的物品给予其他玩家。该命令也可以通过命令方块执行,并支持 @p 语法。
这个命令支持所有相同的更新选项,除了标签(需验证)。