AnimationSlot
Package: com.hypixel.hytale.protocol
public enum AnimationSlotIdentifies the animation layer/slot for concurrent animation playback. Each slot can play one animation independently.
Constants
Section titled “Constants”| Constant | Ordinal | Description |
|---|---|---|
Movement | 0 | Locomotion animations (walk, run, idle). |
Status | 1 | Status condition animations (stunned, burning). |
Action | 2 | Combat and tool use animations (swing, cast). |
Face | 3 | Facial expression animations. |
Emote | 4 | Player emote animations. |
Methods
Section titled “Methods”public int getValue()Returns the integer wire value for this AnimationSlot constant.
public static AnimationSlot fromValue(int value)Returns the AnimationSlot constant for the given wire value. Throws ProtocolException if the value is out of range.
Serialization
Section titled “Serialization”Serialized as a single byte (0—4). The static VALUES array is used for O(1) lookup by ordinal.
Related Types
Section titled “Related Types”
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.