package com.vanaf3;

import com.vanaf3.config.VanafConfig;
import com.vanaf3.overlay.HUDRenderer;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.FMLCommonHandler;
import net.minecraftforge.common.MinecraftForge;

@Mod(modid = VanafMod.MODID, name = VanafMod.NAME, version = VanafMod.VERSION)
public class VanafMod {
    public static final String MODID = "vanaf3";
    public static final String NAME = "Vanaf HUD";
    public static final String VERSION = "1.0";
    
    @Mod.EventHandler
    public void preInit(FMLPreInitializationEvent event) {
        VanafConfig.init(event.getSuggestedConfigurationFile());
        MinecraftForge.EVENT_BUS.register(new HUDRenderer());
    }
}