public static enum RecipeSorter.Category extends Enum<RecipeSorter.Category>
| Modifier and Type | Method and Description |
|---|---|
static RecipeSorter.Category |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is null