public static enum Biome.Category extends Enum<Biome.Category> implements StringIdentifiable
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 Map<String,Biome.Category> |
BY_NAME |
static com.mojang.serialization.Codec<Biome.Category> |
CODEC |
private String |
name |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
static Biome.Category |
byName(String name) |
String |
getName() |
static Biome.Category |
valueOf(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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
createCodec, createCodec, method_28142
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
public static final com.mojang.serialization.Codec<Biome.Category> CODEC
private static final Map<String,Biome.Category> BY_NAME
private final String name
public static Biome.Category[] values()
for (Biome.Category c : Biome.Category.values()) System.out.println(c);
public static Biome.Category valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public static Biome.Category byName(String name)
public String asString()
asString
in interface StringIdentifiable