public enum SeasonsWeather extends java.lang.Enum<SeasonsWeather>
| Modifier and Type | Method and Description |
|---|---|
static SeasonsWeather |
getWeather(org.bukkit.World world) |
static SeasonsWeather |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SeasonsWeather[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeasonsWeather SUN
public static final SeasonsWeather RAIN
public static final SeasonsWeather THUNDER
public static final SeasonsWeather SNOW
public static SeasonsWeather[] values()
for (SeasonsWeather c : SeasonsWeather.values()) System.out.println(c);
public static SeasonsWeather 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 SeasonsWeather getWeather(org.bukkit.World world)
world - The World you want current weather (not looking into the Seasons Managers).