add Spawn
static void addSpawn(Predicate<BiomeSelectionContext> biomeSelector, SpawnGroup spawnGroup, EntityType<? extends Object> entityType, int weight, int minGroupSize, int maxGroupSize)
Content copied to clipboard
Convenience method to add an entity spawn to one or more biomes.
See also
net.minecraft.world.biome.SpawnSettings.Builder
net.minecraft.world.biome.SpawnSettings.Builder#spawn(SpawnGroup, SpawnSettings.SpawnEntry)
Sources
jvm source
Link copied to clipboard