teleport_to_looking_at
Teleports the player on top of the block they are looking at.
Categories: movement
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
distance | The maximum distance to search for a block. Supports expressions. | EXPRESSION | 128 |
Trigger parameters required
PLAYER
Example
effects:
- id: teleport_to_looking_at
args:
distance: %level% * 10 # ← Optional
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |