org.bukkit.block
Enum Biome
java.lang.Object
java.lang.Enum<Biome>
org.bukkit.block.Biome
- All Implemented Interfaces:
- Serializable, Comparable<Biome>
public enum Biome
- extends Enum<Biome>
Holds all accepted Biomes in the default server
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 are declared. |
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
values
public static Biome[] values()
- Returns an array containing the constants of this enum type, in
the order they are 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 are 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
NullPointerException
- if the argument is null
Copyright © 2013. All Rights Reserved.