Skip to content

Cosmetic

Package: com.hypixel.hytale.protocol

public enum Cosmetic

Identifies cosmetic equipment slots for character customization.

ConstantOrdinalDescription
Haircut0Hair style.
FacialHair1Beard, mustache, or other facial hair.
Undertop2Inner torso layer (shirt, undershirt).
Overtop3Outer torso layer (jacket, vest).
Pants4Lower body inner layer.
Overpants5Lower body outer layer (skirt, chaps).
Shoes6Footwear.
Gloves7Hand coverings.
Cape8Back-attached cape or cloak.
HeadAccessory9Head decoration (hat, crown, horns).
FaceAccessory10Face decoration (glasses, mask).
EarAccessory11Ear decoration (earrings).
Ear12Ear shape/style.
public int getValue()

Returns the integer wire value for this Cosmetic constant.

public static Cosmetic fromValue(int value)

Returns the Cosmetic constant for the given wire value. Throws ProtocolException if the value is out of range.

Serialized as a single byte (012). The static VALUES array is used for O(1) lookup by ordinal.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.