// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.protocol;

import com.hypixel.hytale.protocol.io.ProtocolException;

public enum AnimationSlot
{
    Movement(0), 
    Status(1), 
    Action(2), 
    Face(3), 
    Emote(4);
    
    public static final AnimationSlot[] VALUES;
    private final int value;
    
    private AnimationSlot(final int value) {
        this.value = value;
    }
    
    public int getValue() {
        return this.value;
    }
    
    public static AnimationSlot fromValue(final int value) {
        if (value >= 0 && value < AnimationSlot.VALUES.length) {
            return AnimationSlot.VALUES[value];
        }
        throw ProtocolException.invalidEnumValue("AnimationSlot", value);
    }
    
    static {
        VALUES = values();
    }
}
