public enum BlockModelType extends java.lang.Enum<BlockModelType>
| Enum Constant and Description |
|---|
CUBE
A model with a different texture for each face.
|
CUBE_ALL
A model with the same texture for all faces.
|
PILLAR
A model with the one texture for the sides and one texture for the top and bottom.
|
| Modifier and Type | Method and Description |
|---|---|
static BlockModelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockModelType CUBE
Textures:
- <identifier>_up
- <identifier>_down
- <identifier>_north
- <identifier>_east
- <identifier>_south
- <identifier>_west
public static final BlockModelType CUBE_ALL
Textures:
- <identifier>
public static final BlockModelType PILLAR
Textures:
- <identifier>_side
- <identifier>_end
public static BlockModelType[] values()
for (BlockModelType c : BlockModelType.values()) System.out.println(c);
public static BlockModelType 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