public static enum ThunderChangeEvent.Cause extends Enum<ThunderChangeEvent.Cause>
Enum Constant and Description |
---|
COMMAND |
NATURAL |
PLUGIN |
SLEEP |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ThunderChangeEvent.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThunderChangeEvent.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThunderChangeEvent.Cause COMMAND
public static final ThunderChangeEvent.Cause NATURAL
public static final ThunderChangeEvent.Cause SLEEP
public static final ThunderChangeEvent.Cause PLUGIN
public static final ThunderChangeEvent.Cause UNKNOWN
public static ThunderChangeEvent.Cause[] values()
for (ThunderChangeEvent.Cause c : ThunderChangeEvent.Cause.values()) System.out.println(c);
public static ThunderChangeEvent.Cause 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 © 2022. All rights reserved.