addSpawn

static void addSpawn(Predicate<BiomeSelectionContext> biomeSelector, SpawnGroup spawnGroup, EntityType<? extends Object> entityType, int weight, int minGroupSize, int maxGroupSize)

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