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