public static enum StateChangeMessage.Reason extends Enum<StateChangeMessage.Reason>
Enum Constant and Description |
---|
ARROW |
CREDITS |
DEMO_MESSAGE |
GAMEMODE |
INVALID_BED |
RAIN_DENSITY |
SKY_DARKNESS |
START_RAIN |
STOP_RAIN |
Modifier and Type | Method and Description |
---|---|
static StateChangeMessage.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateChangeMessage.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateChangeMessage.Reason INVALID_BED
public static final StateChangeMessage.Reason STOP_RAIN
public static final StateChangeMessage.Reason START_RAIN
public static final StateChangeMessage.Reason GAMEMODE
public static final StateChangeMessage.Reason CREDITS
public static final StateChangeMessage.Reason DEMO_MESSAGE
public static final StateChangeMessage.Reason ARROW
public static final StateChangeMessage.Reason RAIN_DENSITY
public static final StateChangeMessage.Reason SKY_DARKNESS
public static StateChangeMessage.Reason[] values()
for (StateChangeMessage.Reason c : StateChangeMessage.Reason.values()) System.out.println(c);
public static StateChangeMessage.Reason 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 © 2021. All rights reserved.