///7
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
|- | |- | ||
| /say hello @ptrain[distance=..5] | | /say hello @ptrain[distance=..5] | ||
| 向 5 | | 向 5 格及以内的列车上的乘客发送“hello”。 | ||
|- | |- | ||
| /kick @ptrain[name=train23] | | /kick @ptrain[name=train23] | ||
Latest revision as of 01:34, 29 September 2024
| 实例 | 描述 |
|---|---|
| /say hello @ptrain[distance=..5] | 向 5 格及以内的列车上的乘客发送“hello”。 |
| /kick @ptrain[name=train23] | 踢出名为“train23”的列车上的乘客。 |
| /train destroy --train @train[destination=InterState5] | 销毁目的地为“InterState5”的列车。 |
| /train eject --train @train[dx=-2..2,dy=-3..3,dz=-2..2] | 在以命令执行者为中心设置的长方体范围内弹出列车。 |
| /train launch 0.5 --options 2 --train @train[tag=express] | 将带有“express”标签的列车以 0.5 的速度启动到 2 格方块以外的距离。 |