public static enum BlockHugeMushroom.EnumType extends java.lang.Enum<BlockHugeMushroom.EnumType> implements IStringSerializable
Enum Constant and Description |
---|
ALL_INSIDE |
ALL_OUTSIDE |
ALL_STEM |
CENTER |
EAST |
NORTH |
NORTH_EAST |
NORTH_WEST |
SOUTH |
SOUTH_EAST |
SOUTH_WEST |
STEM |
WEST |
Modifier and Type | Method and Description |
---|---|
static BlockHugeMushroom.EnumType |
byMetadata(int meta) |
int |
getMetadata() |
java.lang.String |
getName() |
java.lang.String |
toString() |
static BlockHugeMushroom.EnumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockHugeMushroom.EnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockHugeMushroom.EnumType NORTH_WEST
public static final BlockHugeMushroom.EnumType NORTH
public static final BlockHugeMushroom.EnumType NORTH_EAST
public static final BlockHugeMushroom.EnumType WEST
public static final BlockHugeMushroom.EnumType CENTER
public static final BlockHugeMushroom.EnumType EAST
public static final BlockHugeMushroom.EnumType SOUTH_WEST
public static final BlockHugeMushroom.EnumType SOUTH
public static final BlockHugeMushroom.EnumType SOUTH_EAST
public static final BlockHugeMushroom.EnumType STEM
public static final BlockHugeMushroom.EnumType ALL_INSIDE
public static final BlockHugeMushroom.EnumType ALL_OUTSIDE
public static final BlockHugeMushroom.EnumType ALL_STEM
public static BlockHugeMushroom.EnumType[] values()
for (BlockHugeMushroom.EnumType c : BlockHugeMushroom.EnumType.values()) System.out.println(c);
public static BlockHugeMushroom.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<BlockHugeMushroom.EnumType>
public static BlockHugeMushroom.EnumType byMetadata(int meta)
public java.lang.String getName()
getName
in interface IStringSerializable