public static enum RecipeSorter.Category extends java.lang.Enum<RecipeSorter.Category>
Enum Constant and Description |
---|
SHAPED |
SHAPELESS |
UNKNOWN
Do not use UNKNOWN - it is for recipe types with no clear driver
|
Modifier and Type | Method and Description |
---|---|
static RecipeSorter.Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecipeSorter.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecipeSorter.Category UNKNOWN
public static final RecipeSorter.Category SHAPELESS
public static final RecipeSorter.Category SHAPED
public static RecipeSorter.Category[] values()
for (RecipeSorter.Category c : RecipeSorter.Category.values()) System.out.println(c);
public static RecipeSorter.Category 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