public enum RecipeBookCategory extends Enum<RecipeBookCategory>
Enum Constant and Description |
---|
BLAST_FURNACE |
CRAFTING |
FURNACE |
SMOKER |
Modifier and Type | Method and Description |
---|---|
static RecipeBookCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecipeBookCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecipeBookCategory CRAFTING
public static final RecipeBookCategory FURNACE
public static final RecipeBookCategory BLAST_FURNACE
public static final RecipeBookCategory SMOKER
public static RecipeBookCategory[] values()
for (RecipeBookCategory c : RecipeBookCategory.values()) System.out.println(c);
public static RecipeBookCategory 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