package co.us.creeperkillermods.common;

import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.Item;
import co.us.creeperkillermods.client.clientproxy;
import co.us.creeperkillermods.common.armor.romangeneralarmor;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid = "RyseSonOfRomeMod", name = "Ryse Son Of Rome Mod", version = "Alpha:1.0 The Armor Update")
@NetworkMod(clientSideRequired = true, serverSideRequired = true)

public class mod_rysesonofromebase
{
    @SidedProxy(serverSide = "co.us.creeperkillermods.common.commonproxy", clientSide = "co.us.creeperkillermods.client.clientproxy")

    public static commonproxy proxy;

    public static Item romangeneralchest, romangenerallegs, romangeneralboots, romangeneralhelmet;

    @EventHandler
    public void load(FMLInitializationEvent e)
    {
        romangeneralhelmet = new romangeneralarmor(2069, EnumArmorMaterial.DIAMOND, 3, 0).setUnlocalizedName("a.diamond_helmet");
        romangeneralchest = new romangeneralarmor(2070, EnumArmorMaterial.DIAMOND, 3, 1).setUnlocalizedName("a.diamond_chestplate");
        romangenerallegs = new romangeneralarmor(2071, EnumArmorMaterial.DIAMOND, 3, 2).setUnlocalizedName("a.diamond_leggings");
        romangeneralboots = new romangeneralarmor(2072, EnumArmorMaterial.DIAMOND, 3, 3).setUnlocalizedName("a.diamond_boots");
        LanguageRegistry.addName(romangeneralhelmet, "Roman General Helmet");
        LanguageRegistry.addName(romangeneralchest, "Roman General Chest");
        LanguageRegistry.addName(romangenerallegs, "Roman General Legs");
        LanguageRegistry.addName(romangeneralboots, "Roman General Boots");
    }
}