include By Key
@SafeVarargs()
Content copied to clipboard
See also
#includeByKey(Collection)
#includeByKey(Collection)
static Predicate<BiomeSelectionContext> includeByKey(Collection<RegistryKey<Biome>> keys)
Content copied to clipboard
Returns a selector that will accept only biomes whos keys are 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 spawn exclusively.