public enum BlockEntryType extends java.lang.Enum<BlockEntryType>
Modifier and Type | Field and Description |
---|---|
static BlockEntryType[] |
VALUES
Array to get around multiple allocations.
|
Modifier and Type | Method and Description |
---|---|
ArgumentType[] |
getArgumentTypes()
Gets the argument types to this block entry.
|
int |
getMinimumArgumentLength()
Gets the minimum arguments that need to be accepted.
|
static BlockEntryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockEntryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockEntryType AFTEREVERYCOMMAND
public static final BlockEntryType AFTERFAILEDCOMMAND
public static final BlockEntryType AFTERSUCCESSFULCOMMAND
public static final BlockEntryType INIT
public static final BlockEntryType ONACTION
public static final BlockEntryType ONACTIONWITH
public static final BlockEntryType ONACTIONWITHANCESTOR
public static final BlockEntryType ONACTIONWITHOTHER
public static final BlockEntryType ONAMBIGUOUSCOMMAND
public static final BlockEntryType ONCONTAINERBROWSE
public static final BlockEntryType ONELEMENTBROWSE
public static final BlockEntryType ONINCOMPLETECOMMAND
public static final BlockEntryType ONMALFORMEDCOMMAND
public static final BlockEntryType ONMODALACTION
public static final BlockEntryType ONPLAYERBROWSE
public static final BlockEntryType ONROOMBROWSE
public static final BlockEntryType ONUNHANDLEDACTION
public static final BlockEntryType ONUNKNOWNCOMMAND
public static final BlockEntryType ONWORLDBROWSE
public static final BlockEntryType START
public static final BlockEntryType[] VALUES
public static BlockEntryType[] values()
for (BlockEntryType c : BlockEntryType.values()) System.out.println(c);
public static BlockEntryType 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 getMinimumArgumentLength()
public ArgumentType[] getArgumentTypes()