TrainCarts/Commands/Selectors/7 [zh-tw]

From BergerHealer Wiki
Jump to navigation Jump to search
實例 描述
/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」標籤的列車在2格後啟動到0.5的速度。