Location Targeters
Location targeters specify WHERE an action should occur. They are prefixed with@ in your skill configuration.
Basic Locations
@selflocation / @sl
Targets the current exact coordinates of the caster.
@targetlocation / @tl
Targets the exact coordinates of the mob’s current target.
@targetblock
Targets the block the caster is currently looking at.
- Attributes:
range/r(number): Reach distance.
@spawnlocation
Targets the location where the mob was originally spawned.
Shape Targeters
Create complex geometric patterns for particles or area-of-effect skills.@ring{r=...;p=...}
Targets points in a ring around the caster.
- Attributes:
radius/r(number): The ring size.points/p(number): Number of locations on the ring.
@sphere{r=...;p=...}
Targets points in a 3D sphere.
| Targeter | Description |
|---|---|
@line{r=...;p=...} | Targets points in a straight line towards the target. |
@cone{r=...;a=...} | Targets points in a cone shape. |
@cube{s=...} | Targets points in a cube. |
@forward{d=...} | Targets a location d blocks in front of the caster. |
Advanced World Selection
@highestblock
Targets the highest non-air block at the specified X and Z coordinates.
@pin
Targets a “pinned” location stored in a variable or metadata.
@projectileforward / @pf
Targets a location along the projectile’s trajectory.
@rlnt{r=...} (Random Location Near Target)
Targets a random location within a radius r of the target.
- Aliases:
@randomlocationneartarget