public enum BlockSpecification extends java.lang.Enum<BlockSpecification>
| Enum Constant and Description |
|---|
BASIC
A basic cube, for example cobblestone
|
GLASS
A glass block
|
GLASS_PILLAR
A glass block which is also a pillar block
|
PILLAR
A pillar block which can be aligned along each axis, for example oak log
|
| Modifier and Type | Method and Description |
|---|---|
BlockModelType |
getDefaultModelType() |
static BlockSpecification |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockSpecification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockSpecification BASIC
public static final BlockSpecification PILLAR
public static final BlockSpecification GLASS
public static final BlockSpecification GLASS_PILLAR
PILLARpublic static BlockSpecification[] values()
for (BlockSpecification c : BlockSpecification.values()) System.out.println(c);
public static BlockSpecification 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 BlockModelType getDefaultModelType()