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