public enum CraftingJobStatus extends java.lang.Enum<CraftingJobStatus>
CraftingJob in an ICraftingInterface.| Enum Constant and Description |
|---|
FINISHED
The crafting job is completed.
|
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_INGREDIENTS
The crafting job has been scheduled,
but is not processing yet because input ingredients are missing.
|
PENDING_INTERFACE
The crafting job has been scheduled,
but is not processing yet because the crafting interface is still processing another job.
|
PROCESSING
The crafting job is actively processing,
and output ingredients are being awaited.
|
UNKNOWN
The status for the job is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static CraftingJobStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CraftingJobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CraftingJobStatus PENDING_INTERFACE
public static final CraftingJobStatus PENDING_DEPENDENCIES
public static final CraftingJobStatus PENDING_INGREDIENTS
public static final CraftingJobStatus INVALID_INPUTS
public static final CraftingJobStatus PROCESSING
public static final CraftingJobStatus FINISHED
public static final CraftingJobStatus UNKNOWN
public static CraftingJobStatus[] values()
for (CraftingJobStatus c : CraftingJobStatus.values()) System.out.println(c);
public static CraftingJobStatus 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