Package net.glowstone.constants
Class GlowBiome
java.lang.Object
net.glowstone.constants.GlowBiome
Mappings for Biome id values.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GlowBiome.GlowBiomeBuilderbuilder()booleanstatic GlowBiomegetBiome(int id) Get the GlowBiome for a specified id.static GlowBiomegetBiome(org.bukkit.block.Biome biome) Get the GlowBiome for a specified biome type.doubleintgetId()static intgetId(org.bukkit.block.Biome biome) Get the biome ID for a specified Biome.net.glowstone.constants.GlowBiome.BiomeScalegetScale()doubleorg.bukkit.block.BiomegetType()inthashCode()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
-