public static enum Biome.Category extends java.lang.Enum<Biome.Category>
Enum Constant and Description |
---|
BEACH |
DESERT |
EXTREME_HILLS |
FOREST |
ICY |
JUNGLE |
MESA |
MUSHROOM |
NETHER |
NONE |
OCEAN |
PLAINS |
RIVER |
SAVANNA |
SWAMP |
TAIGA |
THEEND |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,Biome.Category> |
BY_NAME |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static Biome.Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Biome.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Biome.Category NONE
public static final Biome.Category TAIGA
public static final Biome.Category EXTREME_HILLS
public static final Biome.Category JUNGLE
public static final Biome.Category MESA
public static final Biome.Category PLAINS
public static final Biome.Category SAVANNA
public static final Biome.Category ICY
public static final Biome.Category THEEND
public static final Biome.Category BEACH
public static final Biome.Category FOREST
public static final Biome.Category OCEAN
public static final Biome.Category DESERT
public static final Biome.Category RIVER
public static final Biome.Category SWAMP
public static final Biome.Category MUSHROOM
public static final Biome.Category NETHER
private static final java.util.Map<java.lang.String,Biome.Category> BY_NAME
private final java.lang.String name
public static Biome.Category[] values()
for (Biome.Category c : Biome.Category.values()) System.out.println(c);
public static Biome.Category valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()