Enum Class BoneTags

java.lang.Object
java.lang.Enum<BoneTags>
kr.toxicity.model.api.bone.BoneTags
All Implemented Interfaces:
Serializable, Comparable<BoneTags>, Constable, BoneTag

public enum BoneTags extends Enum<BoneTags> implements BoneTag
Builtin tags
  • Enum Constant Details

    • HEAD_WITH_CHILDREN

      public static final BoneTags HEAD_WITH_CHILDREN
      Follows entity's head rotation
    • HITBOX

      public static final BoneTags HITBOX
      Creates a hitbox following this bone
    • SEAT

      public static final BoneTags SEAT
      It can be used as a seat
    • SUB_SEAT

      public static final BoneTags SUB_SEAT
      It can be used as a seat but not controllable
    • TAG

      public static final BoneTags TAG
      Nametag
    • PLAYER_HEAD

      public static final BoneTags PLAYER_HEAD
      Player head
    • PLAYER_RIGHT_ARM

      public static final BoneTags PLAYER_RIGHT_ARM
      Player right arm
    • PLAYER_RIGHT_FOREARM

      public static final BoneTags PLAYER_RIGHT_FOREARM
      Player right forearm
    • PLAYER_LEFT_ARM

      public static final BoneTags PLAYER_LEFT_ARM
      Player left arm
    • PLAYER_LEFT_FOREARM

      public static final BoneTags PLAYER_LEFT_FOREARM
      Player left forearm
    • PLAYER_HIP

      public static final BoneTags PLAYER_HIP
      Player left hip
    • PLAYER_WAIST

      public static final BoneTags PLAYER_WAIST
      Player left waist
    • PLAYER_CHEST

      public static final BoneTags PLAYER_CHEST
      Player left chest
    • PLAYER_RIGHT_LEG

      public static final BoneTags PLAYER_RIGHT_LEG
      Player right leg
    • PLAYER_RIGHT_FORELEG

      public static final BoneTags PLAYER_RIGHT_FORELEG
      Player right foreleg
    • PLAYER_LEFT_LEG

      public static final BoneTags PLAYER_LEFT_LEG
      Player left leg
    • PLAYER_LEFT_FORELEG

      public static final BoneTags PLAYER_LEFT_FORELEG
      Player left foreleg
    • PLAYER_LEFT_ITEM

      public static final BoneTags PLAYER_LEFT_ITEM
      Player's item in left hand
    • PLAYER_RIGHT_ITEM

      public static final BoneTags PLAYER_RIGHT_ITEM
      Player's item in right hand
  • Method Details

    • values

      public static BoneTags[] 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 BoneTags 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
    • itemMapper

      @Nullable public @Nullable BoneItemMapper itemMapper()
      Description copied from interface: BoneTag
      Gets an item mapper
      Specified by:
      itemMapper in interface BoneTag
      Returns:
      item mapper
    • tags

      @NotNull public @NotNull String[] tags()
      Description copied from interface: BoneTag
      Gets a tag list like 'h', 'hi', 'b'
      Specified by:
      tags in interface BoneTag
      Returns:
      tags