Class NullBiomeRegistry
java.lang.Object
com.sk89q.worldedit.world.registry.NullBiomeRegistry
- All Implemented Interfaces:
BiomeRegistry
A biome registry that knows nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.com.sk89q.worldedit.util.formatting.text.Component
getRichName
(BiomeType biomeType) Get the name of the biome, usually as a translatable component.
-
Constructor Details
-
NullBiomeRegistry
public NullBiomeRegistry()Create a new instance.
-
-
Method Details
-
getRichName
Description copied from interface:BiomeRegistry
Get the name of the biome, usually as a translatable component.- Specified by:
getRichName
in interfaceBiomeRegistry
- Parameters:
biomeType
- the biome type- Returns:
- the name of the biome
-
getData
Deprecated.Description copied from interface:BiomeRegistry
Get data about a biome.- Specified by:
getData
in interfaceBiomeRegistry
- Parameters:
biome
- the biome- Returns:
- a data object or null if information is not known
-