Guide 1 Docs 2 Reference 3

Function of routes

routes.add

From one dimension to another: standing ticks ticks in block, or only by player:travel without a trigger; arriving at placement or the destination's spawn.

routes.add(route: { from: string, to: string, trigger: { block: string, ticks: number? }?, placement: Vec3? })

Parameters

route{ from: string, to: string, trigger: { block: string, ticks: number? }?, placement: Vec3? }required

Used in