Package kr.toxicity.model.api.bone
Enum Class BoneTags
- All Implemented Interfaces:
Serializable,Comparable<BoneTags>,Constable,BoneTag
Builtin tags
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFollows entity's head rotationFollows entity's head rotationCreates a hitbox following this bonePlayer left chestPlayer headPlayer left hipPlayer left armPlayer left forearmPlayer left forelegPlayer's item in left handPlayer left legPlayer right armPlayer right forearmPlayer right forelegPlayer's item in right handPlayer right legPlayer left waistIt can be used as a seatIt can be used as a seat but not controllableNametag -
Method Summary
Modifier and TypeMethodDescription@Nullable BoneItemMapperGets an item mapper@NotNull String[]tags()Gets a tag list like 'h', 'hi', 'b'static BoneTagsReturns the enum constant of this class with the specified name.static BoneTags[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEAD
Follows entity's head rotation -
HEAD_WITH_CHILDREN
Follows entity's head rotation -
HITBOX
Creates a hitbox following this bone -
SEAT
It can be used as a seat -
SUB_SEAT
It can be used as a seat but not controllable -
TAG
Nametag -
PLAYER_HEAD
Player head -
PLAYER_RIGHT_ARM
Player right arm -
PLAYER_RIGHT_FOREARM
Player right forearm -
PLAYER_LEFT_ARM
Player left arm -
PLAYER_LEFT_FOREARM
Player left forearm -
PLAYER_HIP
Player left hip -
PLAYER_WAIST
Player left waist -
PLAYER_CHEST
Player left chest -
PLAYER_RIGHT_LEG
Player right leg -
PLAYER_RIGHT_FORELEG
Player right foreleg -
PLAYER_LEFT_LEG
Player left leg -
PLAYER_LEFT_FORELEG
Player left foreleg -
PLAYER_LEFT_ITEM
Player's item in left hand -
PLAYER_RIGHT_ITEM
Player's item in right hand
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
itemMapper
Description copied from interface:BoneTagGets an item mapper- Specified by:
itemMapperin interfaceBoneTag- Returns:
- item mapper
-
tags
Description copied from interface:BoneTagGets a tag list like 'h', 'hi', 'b'
-