public static enum BlockPosition.VerticalAlignment extends Enum<BlockPosition.VerticalAlignment>
Enum Constant and Description |
---|
AFTER
Aligns the first row of the block at the given position
|
BEFORE
Aligns the last row of the block at the given position
|
CENTER
Centers the block at the given position (round off towards the top)
|
Modifier and Type | Method and Description |
---|---|
static BlockPosition.VerticalAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockPosition.VerticalAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockPosition.VerticalAlignment BEFORE
public static final BlockPosition.VerticalAlignment CENTER
public static final BlockPosition.VerticalAlignment AFTER
public static BlockPosition.VerticalAlignment[] values()
for (BlockPosition.VerticalAlignment c : BlockPosition.VerticalAlignment.values()) System.out.println(c);
public static BlockPosition.VerticalAlignment 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 null