Players In Radius With Spell

Description

Targets nearby players who have learned the given spell.

Behaves like PlayersWithSpell, but restricted to players within radius blocks of the caster (in the same world).

Attributes

Attribute Aliases Description Default
radius r The radius around the caster 5
spell id, s The spell to check for required
level l The spell level to require, as a ranged value (e.g. >3, 2to5) (any)

Examples

Skills:
- effect:particles{p=flame} @playersInRadiusWithSpell{r=15;spell=Fireball}

Aliases

  • PIRWS
Updated Aug 19, 2026