public static enum CommandBlockTileEntity.Mode extends java.lang.Enum<CommandBlockTileEntity.Mode>
Modifier and Type | Method and Description |
---|---|
static CommandBlockTileEntity.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandBlockTileEntity.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandBlockTileEntity.Mode SEQUENCE
public static final CommandBlockTileEntity.Mode AUTO
public static final CommandBlockTileEntity.Mode REDSTONE
public static CommandBlockTileEntity.Mode[] values()
for (CommandBlockTileEntity.Mode c : CommandBlockTileEntity.Mode.values()) System.out.println(c);
public static CommandBlockTileEntity.Mode 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 null