public enum EnumButterflyState extends java.lang.Enum<EnumButterflyState>
| Enum Constant and Description |
|---|
FLYING |
GLIDING |
HOVER |
RESTING |
RISING |
| Modifier and Type | Field and Description |
|---|---|
boolean |
doesMovement |
static EnumButterflyState[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static float |
getIrregularWingYaw(long flapping,
float flap) |
float |
getWingFlap(EntityButterfly entity,
long offset,
float partialTicktime) |
static EnumButterflyState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumButterflyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumButterflyState FLYING
public static final EnumButterflyState GLIDING
public static final EnumButterflyState RISING
public static final EnumButterflyState RESTING
public static final EnumButterflyState HOVER
public static final EnumButterflyState[] VALUES
public final boolean doesMovement
public static EnumButterflyState[] values()
for (EnumButterflyState c : EnumButterflyState.values()) System.out.println(c);
public static EnumButterflyState 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 float getWingFlap(EntityButterfly entity, long offset, float partialTicktime)
public static float getIrregularWingYaw(long flapping,
float flap)