Spawner - Max Nearby Entities (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 2.16.0

Syntax

[the] max nearby [spawner] entities of %blocks%

Description

Set the new maximum amount of similar entities that are allowed to be within spawning range of a spawner. If more than the maximum number of entities are within range, the spawner will not spawn and try again. Default value is 16.

Examples

add 10 to maximum nearby entities of {_spawner}
remove 10 from maximum nearby entities of {_spawner}
reset maximum nearby entities of {_spawner}
set maximum nearby entities of {_spawner} to 10

View source