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