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