public enum SimpleEventType extends Enum<SimpleEventType>
| Enum Constant and Description |
|---|
DISABLE_COMMANDS |
ENABLE_COMMANDS |
NONE |
UNLOCK_WORLD_TEMPLATE_SETTINGS |
| Modifier and Type | Method and Description |
|---|---|
static SimpleEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleEventType NONE
public static final SimpleEventType ENABLE_COMMANDS
public static final SimpleEventType DISABLE_COMMANDS
public static final SimpleEventType UNLOCK_WORLD_TEMPLATE_SETTINGS
public static SimpleEventType[] values()
for (SimpleEventType c : SimpleEventType.values()) System.out.println(c);
public static SimpleEventType 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 © 2018–2022 NukkitX. All rights reserved.