Translations:TrainCarts/Commands/42/zh-cn

From BergerHealer Wiki
Revision as of 17:58, 1 September 2024 by Halogly (talk | contribs) (Created page with "=== 目标标签 === 你也无需先选择要修改的矿车,你还可以使用以下任何标签直接定位列车。这些标签也可以在命令方块中使用。 {| cla...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

目标标签

你也无需先选择要修改的矿车,你还可以使用以下任何标签直接定位列车。这些标签也可以在命令方块中使用。

标签 例子 描述
--train <名称> /train maxspeed 0.0 --train train12
/train maxspeed --train @train[name=intercity*]
通过名称选择列车。支持@train 选择器代替名称,这样你可以一次选择多列车。
--nearest /train maxspeed 0.0 --nearest 选择距离指令发送者最近的列车。最远128个方块距离。
--near <x> <y> <z> <distance> /train maxspeed 0.0 --near ~ ~ ~ 5 Selects the nearest train near to the coordinates specified, at most distance away
--cart <index or entity_uuid> /cart destroy --nearest --cart 0 Selects a single cart from the front. Index 0 is the front, 1 second from front, etc. The words 'head' and 'tail' can also be used to select the first or last cart. The train of which to select the carts can be selected with the other flags, otherwise the train the player is currently editing is used.
--world <worldname> /train destroy --world world_nether --near 2 66 -134 1.5 By default flags only target the world the sender is on. With this, a different world can be specified. Is required when running commands from the server terminal.