public static enum IRecipeTransferError.Type extends java.lang.Enum<IRecipeTransferError.Type>
Enum Constant and Description |
---|
INTERNAL
Errors where the Transfer handler is broken or does not work.
|
USER_FACING
Errors that the player can fix.
|
Modifier and Type | Method and Description |
---|---|
static IRecipeTransferError.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IRecipeTransferError.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRecipeTransferError.Type INTERNAL
public static final IRecipeTransferError.Type USER_FACING
public static IRecipeTransferError.Type[] values()
for (IRecipeTransferError.Type c : IRecipeTransferError.Type.values()) System.out.println(c);
public static IRecipeTransferError.Type 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