Changes
Page history
Revert "added ClearTarget mechanic"
authored
Oct 02, 2025
by
Lxlp
This reverts commit 1f8283a3389908f340de3fcb5bc030ebbd4ae456.
Show whitespace changes
Inline
Side-by-side
skills/mechanics/teleportto.md
0 → 100644
View page @
38502e7a
## Description
Will teleport the targeted entity or entities to the specified location.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| location | coordinates, loc, l, c, t, target, to | The coordinates of the teleport's destination, or a targeter | |
| world | w | The destination-world. Optional attribute if "location" is given | |
| yaw | y | The yaw that the affected entities should assume | 0 |
| pitch | p | The pitch that the affected entities should assume | 0 |
| relative | r | Whether the location is relative or directional | false |
| targetasorigin | tao | Will use the target's location as the origin instead of the caster | false |
## Examples
Will teleport all players in a radius of 50 blocks around the casting
mob to the specified location:
```
yaml
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
```
yaml
Skills
:
-
teleportto{location=@selflocation{y=10}} @PIR{r=50}
```
## Aliases
-
[x] teleportlocation
-
[x] tpt
-
[x] tpl
<!--TAGS-->
<!--tag:Movement:Teleport-->