public static enum WeatherChangeEvent.State extends Enum<WeatherChangeEvent.State>
| Modifier and Type | Method and Description |
|---|---|
static WeatherChangeEvent.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeatherChangeEvent.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeatherChangeEvent.State RAIN
public static final WeatherChangeEvent.State THUNDER
public static WeatherChangeEvent.State[] values()
for (WeatherChangeEvent.State c : WeatherChangeEvent.State.values()) System.out.println(c);
public static WeatherChangeEvent.State 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 nullCopyright © 2017–2020 NukkitX. All rights reserved.