public enum EnumPowerStage extends java.lang.Enum<EnumPowerStage> implements net.minecraft.util.IStringSerializable
Enum Constant and Description |
---|
BLACK |
BLUE |
GREEN |
OVERHEAT |
RED |
YELLOW |
Modifier and Type | Field and Description |
---|---|
static EnumPowerStage[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getModelName() |
java.lang.String |
getName() |
static EnumPowerStage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumPowerStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumPowerStage BLUE
public static final EnumPowerStage GREEN
public static final EnumPowerStage YELLOW
public static final EnumPowerStage RED
public static final EnumPowerStage OVERHEAT
public static final EnumPowerStage BLACK
public static final EnumPowerStage[] VALUES
public static EnumPowerStage[] values()
for (EnumPowerStage c : EnumPowerStage.values()) System.out.println(c);
public static EnumPowerStage 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 java.lang.String getModelName()
public java.lang.String getName()
getName
in interface net.minecraft.util.IStringSerializable