public static enum TileEntityUniversalSensor.SensorStatus extends java.lang.Enum<TileEntityUniversalSensor.SensorStatus> implements ITranslatableEnum
| Enum Constant and Description |
|---|
MISSING_GPS |
MISSING_UPGRADE |
NO_SENSOR |
OK |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTranslationKey() |
static TileEntityUniversalSensor.SensorStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TileEntityUniversalSensor.SensorStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TileEntityUniversalSensor.SensorStatus OK
public static final TileEntityUniversalSensor.SensorStatus MISSING_GPS
public static final TileEntityUniversalSensor.SensorStatus MISSING_UPGRADE
public static final TileEntityUniversalSensor.SensorStatus NO_SENSOR
public static TileEntityUniversalSensor.SensorStatus[] values()
for (TileEntityUniversalSensor.SensorStatus c : TileEntityUniversalSensor.SensorStatus.values()) System.out.println(c);
public static TileEntityUniversalSensor.SensorStatus 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 getTranslationKey()
getTranslationKey in interface ITranslatableEnum