Mechanic
teleportto
Teleports the target entity to a location
Aliases
tptteleportlocationtpl
Configuration Fields (6)
| Name | Type | Default | Description |
|---|---|---|---|
| relative m | boolean | — | Whether to use relative teleportation. Default=false |
| world w | PlaceholderString | — | Which world to teleport to. Only used it mode=absolute |
| location target, to, loc, l, coordinates, c | Optional<SkillTargeter> | — | The coordinates to teleport to in format x,y,z. |
| yaw y | PlaceholderDouble | — | The yaw to be applied when teleporting. Acts as an offset when using mode=relative |
| pitch p | PlaceholderDouble | — | The pitch to be applied when teleporting. Acts as an offset when using mode=relative |
| origin o | boolean | — | Wether to base relative teleportation on the caster's or the target's location - Default=false |
Examples & Notes
Examples
Will teleport all players in a radius of 50 blocks around the casting mob to the specified location:
Skills:
- teleportto{location=190,64,200;world=world_nether} @PIR{r=50}
Teleports all of the players in a radius of 50 blocks to a locations that is 10 blocks above the caster of the mechanic
Skills:
- teleportto{location=@selflocation{y=10}} @PIR{r=50}
Universal Mechanic Options
- Author:
- Ashijin/jaylawl
