public static enum BlockQuartz.EnumType extends java.lang.Enum<BlockQuartz.EnumType> implements IStringSerializable
Enum Constant and Description |
---|
CHISELED |
DEFAULT |
LINES_X |
LINES_Y |
LINES_Z |
Modifier and Type | Method and Description |
---|---|
static BlockQuartz.EnumType |
byMetadata(int meta) |
int |
getMetadata() |
java.lang.String |
getName() |
java.lang.String |
toString() |
static BlockQuartz.EnumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockQuartz.EnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockQuartz.EnumType DEFAULT
public static final BlockQuartz.EnumType CHISELED
public static final BlockQuartz.EnumType LINES_Y
public static final BlockQuartz.EnumType LINES_X
public static final BlockQuartz.EnumType LINES_Z
public static BlockQuartz.EnumType[] values()
for (BlockQuartz.EnumType c : BlockQuartz.EnumType.values()) System.out.println(c);
public static BlockQuartz.EnumType 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 int getMetadata()
public java.lang.String toString()
toString
in class java.lang.Enum<BlockQuartz.EnumType>
public static BlockQuartz.EnumType byMetadata(int meta)
public java.lang.String getName()
getName
in interface IStringSerializable