public enum EnumHumidity extends java.lang.Enum<EnumHumidity>
This enum concerns humidity.
| Enum Constant and Description |
|---|
ARID |
DAMP
matches
Biome.isHighHumidity() |
NORMAL |
| Modifier and Type | Field and Description |
|---|---|
int |
color |
java.lang.String |
name |
static EnumHumidity[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static EnumHumidity |
getFromValue(float rawHumidity)
Determines the EnumHumidity given a floating point representation of Minecraft Rainfall.
|
java.lang.String |
getName() |
static EnumHumidity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumHumidity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumHumidity ARID
public static final EnumHumidity NORMAL
public static final EnumHumidity DAMP
Biome.isHighHumidity()public static final EnumHumidity[] VALUES
public final java.lang.String name
public final int color
public static EnumHumidity[] values()
for (EnumHumidity c : EnumHumidity.values()) System.out.println(c);
public static EnumHumidity 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()
public static EnumHumidity getFromValue(float rawHumidity)
Biome.canRain().rawHumidity - raw rainfall value