public static enum FishHook.HookState extends Enum<FishHook.HookState>
| Enum Constant and Description |
|---|
BOBBING
The fishing hook is bobbing in the water, waiting for a bite.
|
HOOKED_ENTITY
The fishing hook has hooked an entity.
|
UNHOOKED
The fishing hook has been cast and is either in the air or resting
against a block on the ground.
|
| Modifier and Type | Method and Description |
|---|---|
static FishHook.HookState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FishHook.HookState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FishHook.HookState UNHOOKED
public static final FishHook.HookState HOOKED_ENTITY
public static final FishHook.HookState BOBBING
public static FishHook.HookState[] values()
for (FishHook.HookState c : FishHook.HookState.values()) System.out.println(c);
public static FishHook.HookState 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 nullCopyright © 2021. All rights reserved.