Entity Targeters
Entity targeters are used to specify WHO a mechanic should affect. They are prefixed with@ in your skill configuration.
Basic Selections
@self / @caster
Targets the mob or player executing the skill.
- Aliases:
@me
@target
Targets the current entity the mob is attacking.
@attacker
Targets the entity that last damaged the caster. Perfect for counter-attack skills.
@trigger
Targets the entity that triggered the skill (e.g., the player who interacted with the mob).
Radius Targeters
These targeters scan for entities within a specific distance of the caster.@playersinradius{r=...}
Targets all players within the specified radius.
- Aliases:
@pir
@mobsinradius{r=...}
Targets all mobs within the specified radius.
- Aliases:
@mir
@entitiesinradius{r=...}
Targets all living entities (players + mobs) within the radius.
- Aliases:
@eir
Relationship Targeters
Target entities based on their relationship to the caster.| Targeter | Description |
|---|---|
@owner | Targets the player who owns the mob (if tamed or spawned by a player). |
@parent | Targets the “parent” mob that spawned the current one. |
@children | Targets all mobs spawned by the caster. |
@mount | Targets the entity the caster is currently riding. |
@passenger | Targets the entity currently riding the caster. |
Advanced Targeting
@threattable / @tt
Targets all entities currently on the mob’s threat table.
@visioncone{fov=90;r=16}
Targets entities within a 90-degree field of view in front of the caster, up to 16 blocks away.
Entity targeters can be combined with Conditions to filter results even further!
