Class NullBiomeRegistry

java.lang.Object
com.sk89q.worldedit.world.registry.NullBiomeRegistry
All Implemented Interfaces:
BiomeRegistry

public class NullBiomeRegistry extends Object implements BiomeRegistry
A biome registry that knows nothing.
  • Constructor Details

    • NullBiomeRegistry

      public NullBiomeRegistry()
      Create a new instance.
  • Method Details

    • getRichName

      public com.sk89q.worldedit.util.formatting.text.Component getRichName(BiomeType biomeType)
      Description copied from interface: BiomeRegistry
      Get the name of the biome, usually as a translatable component.
      Specified by:
      getRichName in interface BiomeRegistry
      Parameters:
      biomeType - the biome type
      Returns:
      the name of the biome
    • getData

      @Deprecated @Nullable public BiomeData getData(BiomeType biome)
      Deprecated.
      Description copied from interface: BiomeRegistry
      Get data about a biome.
      Specified by:
      getData in interface BiomeRegistry
      Parameters:
      biome - the biome
      Returns:
      a data object or null if information is not known