Package net.glowstone.constants
Class GlowBiome
java.lang.Object
net.glowstone.constants.GlowBiome
Mappings for Biome id values.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GlowBiome.GlowBiomeBuilder
builder()
boolean
static GlowBiome
getBiome
(int id) Get the GlowBiome for a specified id.static GlowBiome
getBiome
(org.bukkit.block.Biome biome) Get the GlowBiome for a specified biome type.double
int
getId()
static int
getId
(org.bukkit.block.Biome biome) Get the biome ID for a specified Biome.net.glowstone.constants.GlowBiome.BiomeScale
getScale()
double
org.bukkit.block.Biome
getType()
int
hashCode()
toString()
-
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
Get the GlowBiome for a specified id.- Parameters:
id
- the id.- Returns:
- the Biome, or null
-
getBiome
Get the GlowBiome for a specified biome type.- Parameters:
biome
- the biome type.- Returns:
- the Biome, or null
-
builder
-
getId
public int getId() -
getType
public org.bukkit.block.Biome getType() -
getTemperature
public double getTemperature() -
getDownfall
public double getDownfall() -
getPopulator
-
getGround
-
getScale
public net.glowstone.constants.GlowBiome.BiomeScale getScale() -
equals
-
hashCode
public int hashCode() -
toString
-