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

package com.hypixel.hytale.protocol;

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

public enum ShaderType
{
    None(0), 
    Wind(1), 
    WindAttached(2), 
    WindRandom(3), 
    WindFractal(4), 
    Ice(5), 
    Water(6), 
    Lava(7), 
    Slime(8), 
    Ripple(9);
    
    public static final ShaderType[] VALUES;
    private final int value;
    
    private ShaderType(final int value) {
        this.value = value;
    }
    
    public int getValue() {
        return this.value;
    }
    
    public static ShaderType fromValue(final int value) {
        if (value >= 0 && value < ShaderType.VALUES.length) {
            return ShaderType.VALUES[value];
        }
        throw ProtocolException.invalidEnumValue("ShaderType", value);
    }
    
    static {
        VALUES = values();
    }
}
