Class GlowBiome

java.lang.Object
net.glowstone.constants.GlowBiome

public final class GlowBiome extends Object
Mappings for Biome id values.
  • Method Details

    • getId

      public static int getId(org.bukkit.block.Biome biome)
      Get the biome ID for a specified Biome.
      Parameters:
      biome - the Biome.
      Returns:
      the biome id, or -1
    • getBiome

      public static GlowBiome getBiome(int id)
      Get the GlowBiome for a specified id.
      Parameters:
      id - the id.
      Returns:
      the Biome, or null
    • getBiome

      public static GlowBiome getBiome(org.bukkit.block.Biome biome)
      Get the GlowBiome for a specified biome type.
      Parameters:
      biome - the biome type.
      Returns:
      the Biome, or null
    • builder

      public static GlowBiome.GlowBiomeBuilder builder()
    • getId

      public int getId()
    • getType

      public org.bukkit.block.Biome getType()
    • getTemperature

      public double getTemperature()
    • getDownfall

      public double getDownfall()
    • getPopulator

      public BiomePopulator getPopulator()
    • getGround

      public GroundGenerator getGround()
    • getScale

      public net.glowstone.constants.GlowBiome.BiomeScale getScale()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object