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