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