Spawner - Spawn Range (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 2.16.0

Syntax

[the] [spawner] spawn range of %blocks%

Description

Get the radius around which a spawner will attempt to spawn mobs in. This area is square, includes the block the spawner is in, and is centered on the spawner's x,z coordinates - not the spawner itself. It is 2 blocks high, centered on the spawner's y-coordinate (its bottom); thus allowing mobs to spawn as high as its top surface and as low as 1 block below its bottom surface. Default value is 4.

Examples

on place of mob spawner:
	set spawn range of event-block to random integer between 0 and 10

View source