public enum BlockType extends Enum<BlockType>
Enum Constant and Description |
---|
TYPE_CCE |
TYPE_CPE |
TYPE_DSE |
TYPE_END |
TYPE_FIL |
TYPE_LFE |
TYPE_PCE |
TYPE_SCE |
Modifier and Type | Method and Description |
---|---|
static BlockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockType TYPE_SCE
public static final BlockType TYPE_CPE
public static final BlockType TYPE_CCE
public static final BlockType TYPE_LFE
public static final BlockType TYPE_DSE
public static final BlockType TYPE_PCE
public static final BlockType TYPE_FIL
public static final BlockType TYPE_END
public static BlockType[] values()
for (BlockType c : BlockType.values()) System.out.println(c);
public static BlockType 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 © 2019. All rights reserved.