Spawner - Required Player Range (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 2.16.0
Syntax
[the] required (player|activation) range of %blocks%Description
Get the maximum distance(squared) a player can be in order for a spawner to be active. If this value is less than 0, the spawner is always active (given that there are players online). Otherwise if the value is 0 the spawner is never active. Default value is 16.
Examples
on place of mob spawner:
set required player range of event-block to 0