TrainCarts
/
Commands
/
Selectors
/
13
[zh-cn]
From BergerHealer Wiki
Jump to navigation
Jump to search
Revision as of 01:13, 26 September 2024
(
view source
)
Halogly
(
talk
|
contribs
)
(Created page with "{| class="wikitable" |- | @train[x=10..12,y=23..56,z=-100..-80] | 选择所有在(10, 23, -100)->(12, 56, 80)内部的列车。 |- | @train[x=10,y=23,z=-100,dx=2,dy=33...")
Newer edit →
(No difference)
Revision as of 01:13, 26 September 2024
Information about message (
contribute
)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (
TrainCarts/Commands/Selectors
)
{| class="wikitable"
|-
| @train[x=10..12,y=23..56,z=-100..-80]
| All trains in cuboid (10, 23, -100) -> (12, 56, 80)
|-
| @train[x=10,y=23,z=-100,dx=2,dy=33,dz=20]
| Same as above, but specified with dx/dy/dz to 'grow' the cuboid
|-
| @train[x=10,y=10,z=10,dx=-2..2,dy=-10..10,dz=-2..2]
| Complex use: grows the cuboid from point (10, 10, 10) in both directions. This becomes cuboid (8, 0, 8) -> (12, 20, 12)
|-
| @train[dx=-10..10,dy=-5..5,dz=-10..10]
| Selects a cuboid around the sender (command block / player) of the command
|-
| @train[world=world_the_end,x=10,y=89,z=-20,dx=-10..10,dy=-10..10,dz=-10..10]
| The world name to target can be used to target trains on other worlds
|}
@train[x=10..12,y=23..56,z=-100..-80]
选择所有在(10, 23, -100)->(12, 56, 80)内部的列车。
@train[x=10,y=23,z=-100,dx=2,dy=33,dz=20]
同上,但使用 dx/dy/dz 指定“增大”的长方体。
@train[x=10,y=10,z=10,dx=-2..2,dy=-10..10,dz=-2..2]
复杂使用:从点(10, 10, 10)开始在 y 和 z 两个方向上扩大长方体。将长方体变为(8, 0, 8)->(12, 20, 12)。
@train[dx=-10..10,dy=-5..5,dz=-10..10]
在命令执行者(命令方块 / 玩家)周围选择的长方体。
@train[world=world_the_end,x=10,y=89,z=-20,dx=-10..10,dy=-10..10,dz=-10..10]
指定世界名称可用于定位其他世界的列车。
Navigation menu
Personal tools
English
Log in
Dark mode
Namespaces
Translation unit
Discussion
大陆简体
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Plugins
BKCommonLib
TrainCarts
TC-Coasters
MyWorlds
Signlink
Maplands
Light Cleaner
BergerHealer Links/Contact
Discord
Spigot
GitHub
Paste site
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
In other languages