public static enum PlayerFishEvent.State extends Enum<PlayerFishEvent.State>
Enum Constant and Description |
---|
CAUGHT_ENTITY
The inject attaches to an entity
|
CAUGHT_FISH
A fish is caught on the inject
|
FAILED_ATTEMPT
Undefined
|
FISHING
When the inject is in the water
|
IN_GROUND
The inject attaches to the ground
|
Modifier and Type | Method and Description |
---|---|
static PlayerFishEvent.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerFishEvent.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerFishEvent.State FISHING
public static final PlayerFishEvent.State FAILED_ATTEMPT
public static final PlayerFishEvent.State CAUGHT_FISH
public static final PlayerFishEvent.State CAUGHT_ENTITY
public static final PlayerFishEvent.State IN_GROUND
public static PlayerFishEvent.State[] values()
for (PlayerFishEvent.State c : PlayerFishEvent.State.values()) System.out.println(c);
public static PlayerFishEvent.State 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 © 2016. All rights reserved.