public static enum CommandResultStats.Type extends java.lang.Enum<CommandResultStats.Type>
| Enum Constant and Description |
|---|
AFFECTED_BLOCKS |
AFFECTED_ENTITIES |
AFFECTED_ITEMS |
QUERY_RESULT |
SUCCESS_COUNT |
| Modifier and Type | Method and Description |
|---|---|
static CommandResultStats.Type |
getTypeByName(java.lang.String name) |
int |
getTypeID() |
java.lang.String |
getTypeName() |
static java.lang.String[] |
getTypeNames() |
static CommandResultStats.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandResultStats.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandResultStats.Type SUCCESS_COUNT
public static final CommandResultStats.Type AFFECTED_BLOCKS
public static final CommandResultStats.Type AFFECTED_ENTITIES
public static final CommandResultStats.Type AFFECTED_ITEMS
public static final CommandResultStats.Type QUERY_RESULT
public static CommandResultStats.Type[] values()
for (CommandResultStats.Type c : CommandResultStats.Type.values()) System.out.println(c);
public static CommandResultStats.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getTypeID()
public java.lang.String getTypeName()
public static java.lang.String[] getTypeNames()
public static CommandResultStats.Type getTypeByName(java.lang.String name)