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