Enum EntityPose

java.lang.Object
java.lang.Enum<EntityPose>
net.minecraft.entity.EntityPose
All Implemented Interfaces:
Serializable, Comparable<EntityPose>, java.lang.constant.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
    • DYING

      public static final EntityPose DYING
  • Constructor Details

    • EntityPose

      private EntityPose()
  • Method Details

    • values

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

      public static EntityPose valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null