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