Enum Class PlayerLimb

java.lang.Object
java.lang.Enum<PlayerLimb>
kr.toxicity.model.api.player.PlayerLimb
All Implemented Interfaces:
Serializable, Comparable<PlayerLimb>, Constable

public enum PlayerLimb extends Enum<PlayerLimb>
Player limb data
  • Enum Constant Details

    • RIGHT_ARM

      public static final PlayerLimb RIGHT_ARM
      Right arm
    • RIGHT_FOREARM

      public static final PlayerLimb RIGHT_FOREARM
      Right forearm
    • LEFT_ARM

      public static final PlayerLimb LEFT_ARM
      Left arm
    • LEFT_FOREARM

      public static final PlayerLimb LEFT_FOREARM
      Left forearm
    • HIP

      public static final PlayerLimb HIP
      Hip
    • WAIST

      public static final PlayerLimb WAIST
      Waist
    • CHEST

      public static final PlayerLimb CHEST
      Chest
    • RIGHT_LEG

      public static final PlayerLimb RIGHT_LEG
      Right leg
    • RIGHT_FORELEG

      public static final PlayerLimb RIGHT_FORELEG
      Right foreleg
    • LEFT_LEG

      public static final PlayerLimb LEFT_LEG
      LEft leg
    • LEFT_FORELEG

      public static final PlayerLimb LEFT_FORELEG
      Left foreleg
    • LEFT_ITEM

      public static final PlayerLimb LEFT_ITEM
      Left item
    • RIGHT_ITEM

      public static final PlayerLimb RIGHT_ITEM
      Right item
  • Method Details

    • values

      public static PlayerLimb[] 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 PlayerLimb 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
    • createItem

      @NotNull public @NotNull TransformedItemStack createItem(@NotNull RenderSource.Profiled profiled)
      Generates transformed item from player
      Parameters:
      profiled - target player
      Returns:
      item