Apply Biome Definition Spawner (Effect) — SkNMS

Addon: SkNMS · Category: Effect · Since: 1.1.0

Syntax

apply spawner (of|for) %minecraftentitytypes% with weight [of] %integer% [[and] with min count %-integer% [[and] max count %-integer%]]

Description

Create a spawner entry for the `spawners` section of a biome registration. See [**Biome Definition**](https://minecraft.wiki/w/Biome_definition) on McWiki for more details. `minecraftentitytypes` = The type of entity to spawn (This is from SkBee). `weight` = How often this mob should spawn, higher values produce more spawns. `min count` = The minimum count of mobs to spawn in a pack. Must be greater than 0 (optional, defaults to 1). `max count` = The maximum count of mobs to spawn in a pack. Must be greater than 0 (optional, defaults to min count).

Examples

spawners:
	creature:
		apply spawner for sheep with weight 12 and with min count 4
	monster:
		apply spawner for illusioner with weight 1 and with min count 1
		apply spawner for zombie, skeleton and creeper with weight 3 and with min count 1

View source