org.bukkit.block
Enum Biome

java.lang.Object
  extended by java.lang.Enum<Biome>
      extended by org.bukkit.block.Biome
All Implemented Interfaces:
Serializable, Comparable<Biome>

public enum Biome
extends Enum<Biome>

Holds all accepted Biomes in the default server


Enum Constant Summary
BEACH
           
DESERT
           
DESERT_HILLS
           
EXTREME_HILLS
           
FOREST
           
FOREST_HILLS
           
FROZEN_OCEAN
           
FROZEN_RIVER
           
HELL
           
ICE_MOUNTAINS
           
ICE_PLAINS
           
JUNGLE
           
JUNGLE_HILLS
           
MUSHROOM_ISLAND
           
MUSHROOM_SHORE
           
OCEAN
           
PLAINS
           
RIVER
           
SKY
           
SMALL_MOUNTAINS
           
SWAMPLAND
           
TAIGA
           
TAIGA_HILLS
           
 
Method Summary
static Biome valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Biome[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SWAMPLAND

public static final Biome SWAMPLAND

FOREST

public static final Biome FOREST

TAIGA

public static final Biome TAIGA

DESERT

public static final Biome DESERT

PLAINS

public static final Biome PLAINS

HELL

public static final Biome HELL

SKY

public static final Biome SKY

OCEAN

public static final Biome OCEAN

RIVER

public static final Biome RIVER

EXTREME_HILLS

public static final Biome EXTREME_HILLS

FROZEN_OCEAN

public static final Biome FROZEN_OCEAN

FROZEN_RIVER

public static final Biome FROZEN_RIVER

ICE_PLAINS

public static final Biome ICE_PLAINS

ICE_MOUNTAINS

public static final Biome ICE_MOUNTAINS

MUSHROOM_ISLAND

public static final Biome MUSHROOM_ISLAND

MUSHROOM_SHORE

public static final Biome MUSHROOM_SHORE

BEACH

public static final Biome BEACH

DESERT_HILLS

public static final Biome DESERT_HILLS

FOREST_HILLS

public static final Biome FOREST_HILLS

TAIGA_HILLS

public static final Biome TAIGA_HILLS

SMALL_MOUNTAINS

public static final Biome SMALL_MOUNTAINS

JUNGLE

public static final Biome JUNGLE

JUNGLE_HILLS

public static final Biome JUNGLE_HILLS
Method Detail

values

public static final Biome[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Biome c : Biome.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Biome valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2013. All Rights Reserved.