spawnsOneOf

static Predicate<BiomeSelectionContextspawnsOneOf(Array<EntityType<? extends Object>> entityTypes)
static Predicate<BiomeSelectionContextspawnsOneOf(Set<EntityType<? extends Object>> entityTypes)

Returns a biome selector that will match biomes in which one of the given entity types can spawn.

Matches spawns in all spawn groups.