Enum Constant and Description |
---|
Attack |
AttackBackOff |
CircleOwner |
Flee |
Fly |
FlyAwayDespawn |
FlyClimb |
FlyToFriend |
FlyToOwner |
Hover |
Land |
LandFriend |
LandOwner |
Retreat |
Swoop |
SwoopEnd |
Modifier and Type | Field and Description |
---|---|
int |
probability |
Modifier and Type | Method and Description |
---|---|
boolean |
ignoreCollision() |
static FlyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlyMode Fly
public static final FlyMode Swoop
public static final FlyMode Land
public static final FlyMode FlyClimb
public static final FlyMode SwoopEnd
public static final FlyMode Attack
public static final FlyMode AttackBackOff
public static final FlyMode Retreat
public static final FlyMode Flee
public static final FlyMode CircleOwner
public static final FlyMode FlyToOwner
public static final FlyMode LandOwner
public static final FlyMode FlyAwayDespawn
public static final FlyMode FlyToFriend
public static final FlyMode LandFriend
public static final FlyMode Hover
public static FlyMode[] values()
for (FlyMode c : FlyMode.values()) System.out.println(c);
public static FlyMode 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 nullpublic boolean ignoreCollision()