A targeter can resolve to zero, one, or many entities. The mechanic runs once per target:
- damage{amount=8} @playersRadius[5] # every player within 5 blocks takes 8 damage- narrate "&cRun!" @playersRadius[20] # every player within 20 blocks gets the message
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.
Lines inside a named effect can carry their own targeter. If they don’t, they inherit the targets of the line that called them:
effects: - run smash #onHurt @target # smash runs against the attacker... smash: - lunge{velocity=1.6} # ...this line inherits @target - damage{amount=10} @playersRadius[4] # ...this one overrides it