public class NullBiomeRegistry extends java.lang.Object implements BiomeRegistry
Constructor and Description |
---|
NullBiomeRegistry()
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
BaseBiome |
createFromId(int id)
Create a new biome given its biome ID.
|
java.util.List<BaseBiome> |
getBiomes()
Get a list of available biomes.
|
BiomeData |
getData(BaseBiome biome)
Get data about a biome.
|
@Nullable public BaseBiome createFromId(int id)
BiomeRegistry
createFromId
in interface BiomeRegistry
id
- its biome IDpublic java.util.List<BaseBiome> getBiomes()
BiomeRegistry
getBiomes
in interface BiomeRegistry
@Nullable public BiomeData getData(BaseBiome biome)
BiomeRegistry
getData
in interface BiomeRegistry
biome
- the biome