public enum TerminalCraftingJobStatus extends java.lang.Enum<TerminalCraftingJobStatus>
| Enum Constant and Description |
|---|
CRAFTING
The output is actively being crafted.
|
ERROR
A generic job error state.
|
FINISHED
All expected outputs are crafted.
|
INVALID
If this job, or its dependencies, have missing storage instances.
|
INVALID_INPUTS
The recipe inputs could not be inserted into the crafting handler.
|
PENDING_DEPENDENCIES
The crafting job has been scheduled,
but is not processing yet because a dependency is still being processed.
|
PENDING_INPUTS
The crafting job has been scheduled,
but is not processing yet because input ingredients are missing.
|
QUEUEING
The crafting job has been scheduled,
but is not processing yet because other jobs are still processing.
|
UNSTARTED
No outputs have been crafted yet, and they are not scheduled yet for crafting.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColor() |
boolean |
isValid() |
static TerminalCraftingJobStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TerminalCraftingJobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminalCraftingJobStatus ERROR
public static final TerminalCraftingJobStatus INVALID
public static final TerminalCraftingJobStatus UNSTARTED
public static final TerminalCraftingJobStatus QUEUEING
public static final TerminalCraftingJobStatus PENDING_DEPENDENCIES
public static final TerminalCraftingJobStatus PENDING_INPUTS
public static final TerminalCraftingJobStatus INVALID_INPUTS
public static final TerminalCraftingJobStatus CRAFTING
public static final TerminalCraftingJobStatus FINISHED
public static TerminalCraftingJobStatus[] values()
for (TerminalCraftingJobStatus c : TerminalCraftingJobStatus.values()) System.out.println(c);
public static TerminalCraftingJobStatus 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 int getColor()
public boolean isValid()