Skip to content

AnimationSlot

Package: com.hypixel.hytale.protocol

public enum AnimationSlot

Identifies the animation layer/slot for concurrent animation playback. Each slot can play one animation independently.

ConstantOrdinalDescription
Movement0Locomotion animations (walk, run, idle).
Status1Status condition animations (stunned, burning).
Action2Combat and tool use animations (swing, cast).
Face3Facial expression animations.
Emote4Player emote animations.
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.

Serialized as a single byte (04). 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.