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

package com.hypixel.hytale.protocol;

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

public enum UVMotionCurveType
{
    Constant(0), 
    IncreaseLinear(1), 
    IncreaseQuartIn(2), 
    IncreaseQuartInOut(3), 
    IncreaseQuartOut(4), 
    DecreaseLinear(5), 
    DecreaseQuartIn(6), 
    DecreaseQuartInOut(7), 
    DecreaseQuartOut(8);
    
    public static final UVMotionCurveType[] VALUES;
    private final int value;
    
    private UVMotionCurveType(final int value) {
        this.value = value;
    }
    
    public int getValue() {
        return this.value;
    }
    
    public static UVMotionCurveType fromValue(final int value) {
        if (value >= 0 && value < UVMotionCurveType.VALUES.length) {
            return UVMotionCurveType.VALUES[value];
        }
        throw ProtocolException.invalidEnumValue("UVMotionCurveType", value);
    }
    
    static {
        VALUES = values();
    }
}
