public enum EnumRedstoneChipset extends java.lang.Enum<EnumRedstoneChipset> implements net.minecraft.util.IStringSerializable
Modifier and Type | Method and Description |
---|---|
static EnumRedstoneChipset |
fromOrdinal(int ordinal) |
static EnumRedstoneChipset |
fromStack(net.minecraft.item.ItemStack stack) |
java.lang.String |
getName() |
net.minecraft.item.ItemStack |
getStack() |
net.minecraft.item.ItemStack |
getStack(int stackSize) |
static EnumRedstoneChipset |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumRedstoneChipset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumRedstoneChipset RED
public static final EnumRedstoneChipset IRON
public static final EnumRedstoneChipset GOLD
public static final EnumRedstoneChipset QUARTZ
public static final EnumRedstoneChipset DIAMOND
public static EnumRedstoneChipset[] values()
for (EnumRedstoneChipset c : EnumRedstoneChipset.values()) System.out.println(c);
public static EnumRedstoneChipset 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 net.minecraft.item.ItemStack getStack(int stackSize)
public net.minecraft.item.ItemStack getStack()
public static EnumRedstoneChipset fromStack(net.minecraft.item.ItemStack stack)
public static EnumRedstoneChipset fromOrdinal(int ordinal)
public java.lang.String getName()
getName
in interface net.minecraft.util.IStringSerializable