public static enum TileEntityController.ControllerState extends java.lang.Enum<TileEntityController.ControllerState>
| Enum Constant and Description |
|---|
INCOMPLETE
In the last scan the border of the loaded area was hit; incomplete multi-blocks to nothing.
|
MULTIPLE_CONTROLLERS
In the last scan another controller was found; only one is allowed per multi-block.
|
READY
The controller is in operational state and can update connected casings each tick.
|
RUNNING
The controller is in operational state and powered, updating connected casings each tick.
|
SCANNING
A scan has been scheduled and will be performed in the next tick.
|
TOO_COMPLEX
In the last scan more than
Settings.maxCasingsPerController casings were found. |
| Modifier and Type | Field and Description |
|---|---|
boolean |
isError
Whether this states is an error state, i.e.
|
java.lang.String |
translateKey
The unlocalized message to display for this status, used to look up the actual
translation from the currently set language on the client when rendering.
|
static TileEntityController.ControllerState[] |
VALUES
All possible enum values for quick indexing.
|
| Modifier and Type | Method and Description |
|---|---|
static TileEntityController.ControllerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TileEntityController.ControllerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TileEntityController.ControllerState SCANNING
public static final TileEntityController.ControllerState MULTIPLE_CONTROLLERS
public static final TileEntityController.ControllerState TOO_COMPLEX
Settings.maxCasingsPerController casings were found.public static final TileEntityController.ControllerState INCOMPLETE
public static final TileEntityController.ControllerState READY
public static final TileEntityController.ControllerState RUNNING
public final boolean isError
public final java.lang.String translateKey
public static final TileEntityController.ControllerState[] VALUES
public static TileEntityController.ControllerState[] values()
for (TileEntityController.ControllerState c : TileEntityController.ControllerState.values()) System.out.println(c);
public static TileEntityController.ControllerState 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 null