public final class Biomes
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static BaseBiome |
findBiomeByName(java.util.Collection<BaseBiome> biomes,
java.lang.String name,
BiomeRegistry registry)
Find a biome that matches the given input name.
|
@Nullable public static BaseBiome findBiomeByName(java.util.Collection<BaseBiome> biomes, java.lang.String name, BiomeRegistry registry)
biomes
- a list of biomesname
- the name to testregistry
- a biome registry