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