addSpawn

fun addSpawn(mobCategory: MobCategory, spawnerData: MobSpawnSettings.SpawnerData)

Adds a SpawnerData to the spawners setting of the biome's mob spawn settings.


fun addSpawn(mobCategory: MobCategory, entityType: EntityType<*>, minCount: Int = 2, maxCount: Int = 4)

Adds a SpawnerData to the spawners setting of the biome's mob spawn settings by creating a new SpawnerData instance out of the given entityType, minCount and maxCount.