Package net.minecraft.block
Enum BlockStoneSlabNew.EnumType
- java.lang.Object
-
- java.lang.Enum<BlockStoneSlabNew.EnumType>
-
- net.minecraft.block.BlockStoneSlabNew.EnumType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlockStoneSlabNew.EnumType>
,IStringSerializable
- Enclosing class:
- BlockStoneSlabNew
public static enum BlockStoneSlabNew.EnumType extends java.lang.Enum<BlockStoneSlabNew.EnumType> implements IStringSerializable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RED_SANDSTONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BlockStoneSlabNew.EnumType
byMetadata(int meta)
MapColor
func_181068_c()
int
getMetadata()
java.lang.String
getName()
java.lang.String
getUnlocalizedName()
+ Returns the slab block name with the type associated with itjava.lang.String
toString()
static BlockStoneSlabNew.EnumType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlockStoneSlabNew.EnumType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RED_SANDSTONE
public static final BlockStoneSlabNew.EnumType RED_SANDSTONE
-
-
Method Detail
-
values
public static BlockStoneSlabNew.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 (BlockStoneSlabNew.EnumType c : BlockStoneSlabNew.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 BlockStoneSlabNew.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()
-
func_181068_c
public MapColor func_181068_c()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<BlockStoneSlabNew.EnumType>
-
byMetadata
public static BlockStoneSlabNew.EnumType byMetadata(int meta)
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceIStringSerializable
-
getUnlocalizedName
public java.lang.String getUnlocalizedName()
+ Returns the slab block name with the type associated with it
-
-