Package net.minecraft.block
Enum BlockHugeMushroom.EnumType
- java.lang.Object
-
- java.lang.Enum<BlockHugeMushroom.EnumType>
-
- net.minecraft.block.BlockHugeMushroom.EnumType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlockHugeMushroom.EnumType>
,IStringSerializable
- Enclosing class:
- BlockHugeMushroom
public static enum BlockHugeMushroom.EnumType extends java.lang.Enum<BlockHugeMushroom.EnumType> implements IStringSerializable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_INSIDE
ALL_OUTSIDE
ALL_STEM
CENTER
EAST
NORTH
NORTH_EAST
NORTH_WEST
SOUTH
SOUTH_EAST
SOUTH_WEST
STEM
WEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
NORTH_WEST
public static final BlockHugeMushroom.EnumType NORTH_WEST
-
NORTH
public static final BlockHugeMushroom.EnumType NORTH
-
NORTH_EAST
public static final BlockHugeMushroom.EnumType NORTH_EAST
-
WEST
public static final BlockHugeMushroom.EnumType WEST
-
CENTER
public static final BlockHugeMushroom.EnumType CENTER
-
EAST
public static final BlockHugeMushroom.EnumType EAST
-
SOUTH_WEST
public static final BlockHugeMushroom.EnumType SOUTH_WEST
-
SOUTH
public static final BlockHugeMushroom.EnumType SOUTH
-
SOUTH_EAST
public static final BlockHugeMushroom.EnumType SOUTH_EAST
-
STEM
public static final BlockHugeMushroom.EnumType STEM
-
ALL_INSIDE
public static final BlockHugeMushroom.EnumType ALL_INSIDE
-
ALL_OUTSIDE
public static final BlockHugeMushroom.EnumType ALL_OUTSIDE
-
ALL_STEM
public static final BlockHugeMushroom.EnumType ALL_STEM
-
-
Method Detail
-
values
public static BlockHugeMushroom.EnumType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BlockHugeMushroom.EnumType c : BlockHugeMushroom.EnumType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockHugeMushroom.EnumType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMetadata
public int getMetadata()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<BlockHugeMushroom.EnumType>
-
byMetadata
public static BlockHugeMushroom.EnumType byMetadata(int meta)
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceIStringSerializable
-
-