Enum Class BookAnimationState
- All Implemented Interfaces:
Serializable,Comparable<BookAnimationState>,Constable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal floatfinal floatfinal floatfinal booleanfinal floatfinal floatfinal float -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.QuaternionfgetTargetRotation(float entityPitch) booleanstatic BookAnimationStateReturns the enum constant of this class with the specified name.static BookAnimationState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCOUTING
-
DASHING
-
TARGET_ACQUISITION
-
CHANTING
-
CHANTING_OFFENSIVE
-
CHANTING_DEFENSIVE
-
CHANTING_SUPPORTIVE
-
IDLE
-
RESTING
-
ALTAR_VIGIL
-
LECTERN_ROOST
-
BARTERING
-
-
Field Details
-
xOffset
public final float xOffset -
yOffset
public final float yOffset -
zOffset
public final float zOffset -
alignment
-
orientation
-
flutterSpeed
public final float flutterSpeed -
flutterChance
public final float flutterChance -
openness
public final float openness -
shouldGenerateParticles
public final boolean shouldGenerateParticles
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isChanting
public boolean isChanting() -
getTargetRotation
public org.joml.Quaternionf getTargetRotation(float entityPitch)
-