exclude By Key
@SafeVarargs()
Content copied to clipboard
See also
#excludeByKey(Collection)
#excludeByKey(Collection)
static Predicate<BiomeSelectionContext> excludeByKey(Collection<RegistryKey<Biome>> keys)
Content copied to clipboard
Returns a selector that will reject any biome whos keys is in the given collection of keys.
This is useful for allowing a list of biomes to be defined in the config file, wherea certain feature should not spawn.