Skip to main content
A targeter decides who an effect line applies to. It’s the part prefixed with @:
If a line has no targeter, it defaults to @self.

Available targeters

One effect, many targets

A targeter can resolve to zero, one, or many entities. The mechanic runs once per target:
If a targeter resolves to nothing (no players in range, no attacker on environmental damage), the line simply does nothing. That’s normal and not an error.

Player-only mechanics

Some mechanics only make sense for players. Chat messages, action bars, titles and item gives silently skip non-player targets:

Targeters in named effects

Lines inside a named effect can carry their own targeter. If they don’t, they inherit the targets of the line that called them: