public enum CommandEnumConstraint extends Enum<CommandEnumConstraint>
| Enum Constant and Description |
|---|
ALLOW_ALIASES |
CHEATS_ENABLED |
HOST_PERMISSIONS |
OPERATOR_PERMISSIONS |
| Modifier and Type | Method and Description |
|---|---|
static CommandEnumConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandEnumConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandEnumConstraint CHEATS_ENABLED
public static final CommandEnumConstraint OPERATOR_PERMISSIONS
public static final CommandEnumConstraint HOST_PERMISSIONS
public static final CommandEnumConstraint ALLOW_ALIASES
public static CommandEnumConstraint[] values()
for (CommandEnumConstraint c : CommandEnumConstraint.values()) System.out.println(c);
public static CommandEnumConstraint 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 CloudburstMC. All rights reserved.