Enum Class BookAnimationState

java.lang.Object
java.lang.Enum<BookAnimationState>
johnsmith.enchantingoverhauled.entity.anim.BookAnimationState
All Implemented Interfaces:
Serializable, Comparable<BookAnimationState>, Constable

public enum BookAnimationState extends Enum<BookAnimationState>
  • Enum Constant Details

  • Field Details

    • xOffset

      public final float xOffset
    • yOffset

      public final float yOffset
    • zOffset

      public final float zOffset
    • alignment

      public final BookAnimationState.Alignment alignment
    • orientation

      public final BookAnimationState.Orientation orientation
    • flutterSpeed

      public final float flutterSpeed
    • flutterChance

      public final float flutterChance
    • openness

      public final float openness
    • shouldGenerateParticles

      public final boolean shouldGenerateParticles
  • Method Details

    • values

      public static BookAnimationState[] 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

      public static BookAnimationState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isChanting

      public boolean isChanting()
    • getTargetRotation

      public org.joml.Quaternionf getTargetRotation(float entityPitch)