java.lang.Object
java.lang.Enum<EntityPose>
com.github.retrooper.packetevents.protocol.entity.pose.EntityPose
All Implemented Interfaces:
Serializable, Comparable<EntityPose>, Constable

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

    • STANDING

      public static final EntityPose STANDING
    • FALL_FLYING

      public static final EntityPose FALL_FLYING
    • SLEEPING

      public static final EntityPose SLEEPING
    • SWIMMING

      public static final EntityPose SWIMMING
    • SPIN_ATTACK

      public static final EntityPose SPIN_ATTACK
    • CROUCHING

      public static final EntityPose CROUCHING
    • LONG_JUMPING

      public static final EntityPose LONG_JUMPING
    • DYING

      public static final EntityPose DYING
    • CROAKING

      public static final EntityPose CROAKING
    • USING_TONGUE

      public static final EntityPose USING_TONGUE
    • SITTING

      public static final EntityPose SITTING
    • ROARING

      public static final EntityPose ROARING
    • SNIFFING

      public static final EntityPose SNIFFING
    • EMERGING

      public static final EntityPose EMERGING
    • DIGGING

      public static final EntityPose DIGGING
    • SLIDING

      public static final EntityPose SLIDING
    • SHOOTING

      public static final EntityPose SHOOTING
    • INHALING

      public static final EntityPose INHALING
  • Method Details

    • values

      public static EntityPose[] 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 EntityPose 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
    • getId

      public int getId(ClientVersion version)
    • getById

      public static EntityPose getById(ClientVersion version, int id)