Enum Class Pose

java.lang.Object
java.lang.Enum<Pose>
net.minecraft.world.entity.Pose
所有已实现的接口:
Serializable, Comparable<Pose>, Constable

public enum Pose extends Enum<Pose>
  • 枚举常量详细资料

    • STANDING

      public static final Pose STANDING
    • FALL_FLYING

      public static final Pose FALL_FLYING
    • SLEEPING

      public static final Pose SLEEPING
    • SWIMMING

      public static final Pose SWIMMING
    • SPIN_ATTACK

      public static final Pose SPIN_ATTACK
    • CROUCHING

      public static final Pose CROUCHING
    • LONG_JUMPING

      public static final Pose LONG_JUMPING
    • DYING

      public static final Pose DYING
    • CROAKING

      public static final Pose CROAKING
    • USING_TONGUE

      public static final Pose USING_TONGUE
    • SITTING

      public static final Pose SITTING
    • ROARING

      public static final Pose ROARING
    • SNIFFING

      public static final Pose SNIFFING
    • EMERGING

      public static final Pose EMERGING
    • DIGGING

      public static final Pose DIGGING
  • 构造器详细资料

    • Pose

      private Pose()
  • 方法详细资料

    • values

      public static Pose[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Pose 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值