public static enum Biome.RainType extends java.lang.Enum<Biome.RainType>
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,Biome.RainType> |
BY_NAME |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static Biome.RainType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Biome.RainType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Biome.RainType NONE
public static final Biome.RainType RAIN
public static final Biome.RainType SNOW
private static final java.util.Map<java.lang.String,Biome.RainType> BY_NAME
private final java.lang.String name
public static Biome.RainType[] values()
for (Biome.RainType c : Biome.RainType.values()) System.out.println(c);
public static Biome.RainType 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()