World Spawn Limit (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.21.0
Syntax
[the] server wide %spawncategory% spawn limitDescription
Get/set the spawn limit of a world. If the world is ommited, the server spawn limit will be returned. World spawn limits can be changed, server spawn limits cannot. If set to a negative number the world will use the server-wide spawn limit instead, reset will do the same. You can read more about [**Mob Caps**](https://minecraft.wiki/w/Mob_spawning#Java_Edition_mob_cap) on McWiki Note: The `misc` category is not supported by this expression. Note: Changes are not persistent thru server restarts.
Examples
set the monster spawn limit of player's world to 10
add 1 to animal spawn limit of world("world")
reset ambient spawn limit of all worlds
set {_limit} to the water animal spawn limit