teleport_to_looking_at

Teleports the player on top of the block they are looking at.

Categories: movement

Optional arguments

Key(s)DescriptionTypeDefault
distanceThe maximum distance to search for a block. Supports expressions.EXPRESSION128

Trigger parameters required

  • PLAYER

Example

effects:
  - id: teleport_to_looking_at
    args:
      distance: %level% * 10 # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue