Enum Class Pose

java.lang.Object
java.lang.Enum<Pose>
net.minecraft.world.entity.Pose
All Implemented Interfaces:
Serializable, Comparable<Pose>, Constable

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

    • 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
    • SLIDING

      public static final Pose SLIDING
    • SHOOTING

      public static final Pose SHOOTING
    • INHALING

      public static final Pose INHALING
  • Field Details

    • BY_ID

      public static final IntFunction<Pose> BY_ID
    • STREAM_CODEC

      public static final StreamCodec<io.netty.buffer.ByteBuf,Pose> STREAM_CODEC
    • id

      private final int id
  • Constructor Details

    • Pose

      private Pose(int p_333317_)
  • Method Details

    • values

      public static Pose[] 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 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.)
      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
    • id

      public int id()