public static enum CommandData.Flag extends Enum<CommandData.Flag>
| Enum Constant and Description |
|---|
CHEAT |
EXECUTE |
SYNC |
TYPE |
USAGE |
VISIBILITY |
| Modifier and Type | Method and Description |
|---|---|
static CommandData.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandData.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandData.Flag USAGE
public static final CommandData.Flag VISIBILITY
public static final CommandData.Flag SYNC
public static final CommandData.Flag EXECUTE
public static final CommandData.Flag TYPE
public static final CommandData.Flag CHEAT
public static CommandData.Flag[] values()
for (CommandData.Flag c : CommandData.Flag.values()) System.out.println(c);
public static CommandData.Flag 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–2019 NukkitX. All rights reserved.