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

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

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

public enum HudComponent
{
    Hotbar(0), 
    StatusIcons(1), 
    Reticle(2), 
    Chat(3), 
    Requests(4), 
    Notifications(5), 
    KillFeed(6), 
    InputBindings(7), 
    PlayerList(8), 
    EventTitle(9), 
    Compass(10), 
    ObjectivePanel(11), 
    PortalPanel(12), 
    BuilderToolsLegend(13), 
    Speedometer(14), 
    UtilitySlotSelector(15), 
    BlockVariantSelector(16), 
    BuilderToolsMaterialSlotSelector(17), 
    Stamina(18), 
    AmmoIndicator(19), 
    Health(20), 
    Mana(21), 
    Oxygen(22), 
    Sleep(23);
    
    public static final HudComponent[] VALUES;
    private final int value;
    
    private HudComponent(final int value) {
        this.value = value;
    }
    
    public int getValue() {
        return this.value;
    }
    
    public static HudComponent fromValue(final int value) {
        if (value >= 0 && value < HudComponent.VALUES.length) {
            return HudComponent.VALUES[value];
        }
        throw ProtocolException.invalidEnumValue("HudComponent", value);
    }
    
    static {
        VALUES = values();
    }
}
