public enum WeatherType extends java.lang.Enum<WeatherType>
Modifier and Type | Method and Description |
---|---|
static WeatherType |
get(net.minecraft.world.World world) |
java.lang.String |
getLocalizedName() |
java.lang.String |
getTranslationKey() |
boolean |
isCurrent(net.minecraft.world.World world) |
static WeatherType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeatherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeatherType CLEAR
public static final WeatherType RAIN
public static final WeatherType STORM
public static WeatherType[] values()
for (WeatherType c : WeatherType.values()) System.out.println(c);
public static WeatherType 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 static WeatherType get(net.minecraft.world.World world)
public boolean isCurrent(net.minecraft.world.World world)
public java.lang.String getTranslationKey()
public java.lang.String getLocalizedName()