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

package com.hypixel.hytale.protocol.packets.buildertools;

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

public enum BrushAxis
{
    None(0), 
    Auto(1), 
    X(2), 
    Y(3), 
    Z(4);
    
    public static final BrushAxis[] VALUES;
    private final int value;
    
    private BrushAxis(final int value) {
        this.value = value;
    }
    
    public int getValue() {
        return this.value;
    }
    
    public static BrushAxis fromValue(final int value) {
        if (value >= 0 && value < BrushAxis.VALUES.length) {
            return BrushAxis.VALUES[value];
        }
        throw ProtocolException.invalidEnumValue("BrushAxis", value);
    }
    
    static {
        VALUES = values();
    }
}
