Mechanic

teleportto

Teleports the target entity to a location

Aliases

tptteleportlocationtpl

Configuration Fields (6)

NameTypeDefaultDescription
relative
m
booleanWhether to use relative teleportation. Default=false
world
w
PlaceholderStringWhich 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
PlaceholderDoubleThe yaw to be applied when teleporting. Acts as an offset when using mode=relative
pitch
p
PlaceholderDoubleThe pitch to be applied when teleporting. Acts as an offset when using mode=relative
origin
o
booleanWether 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
Community-maintained documentation for the Mythic plugin ecosystem.