use of sanandreasp.mods.ClaySoldiersMod.item.ItemGlobal in project ClaySoldiersMod by SanAndreasP.
the class CSMModRegistry method preInit.
@EventHandler
public void preInit(FMLPreInitializationEvent event) {
manHelper.checkManPack(event.getModMetadata().name);
if (!manHelper.loading)
return;
manHelper.initMan(new SAPConfigManager("ClaySoldiersMod", "ClaySoldiers.txt", "/sanandreasp/"), new SAPLanguageManager("/sanandreasp/ClaySoldiers/", "1.0", "Clay Soldiers Mod"), new SAPUpdateManager("Clay Soldiers Mod", 2, 0, 0, "http://dl.dropbox.com/u/56920617/ClaySoldiersMod2_latest.txt", "http://www.minecraftforum.net/topic/964897-"));
claySoldierTab = new CreativeTabs("ClaySoldiers") {
@Override
@SideOnly(Side.CLIENT)
public int getTabIconItemIndex() {
return CSMModRegistry.greyDoll.itemID;
}
};
setIDs();
SoldierTeams.initDefTeams();
// Items
clayDisruptor = (new ItemClayDisruptor(itemIDs[0] - 256)).setUnlocalizedName("claydisruptor").setCreativeTab(this.claySoldierTab);
greyDoll = (new ItemClayMan(itemIDs[1] - 256, 0)).setUnlocalizedName("claydoll").setCreativeTab(this.claySoldierTab);
horseDoll = (new ItemHorses(itemIDs[2] - 256, 0)).setUnlocalizedName("horsedoll").setCreativeTab(this.claySoldierTab);
pegasusDoll = (new ItemHorses(itemIDs[3] - 256, 1)).setUnlocalizedName("pegasusdoll").setCreativeTab(this.claySoldierTab);
bunnyDoll = (new ItemBunny(itemIDs[4] - 256)).setUnlocalizedName("bunnydoll").setCreativeTab(this.claySoldierTab);
geckoDoll = (new ItemGecko(itemIDs[5] - 256)).setUnlocalizedName("geckodoll").setCreativeTab(this.claySoldierTab);
brickDoll = (new ItemGlobal(itemIDs[6] - 256)).setIconFile("ClaySoldiersMod:dollBrick").setUnlocalizedName("brickDoll").setCreativeTab(this.claySoldierTab);
clayCookie = (new ItemGlobal(itemIDs[7] - 256)).setIconFile("ClaySoldiersMod:noms").setUnlocalizedName("clayCookie").setCreativeTab(this.claySoldierTab);
turtleDoll = (new ItemTurtle(itemIDs[8] - 256)).setUnlocalizedName("clayturtle").setCreativeTab(this.claySoldierTab);
shield = (new ItemDebugShield(itemIDs[9] - 256)).setUnlocalizedName("clayshield");
nexus = (new ItemNexus(itemIDs[10] - 256)).setUnlocalizedName("claynexus").setCreativeTab(this.claySoldierTab);
shearBlade = (new ItemGlobal(itemIDs[11] - 256)).setIconFile("ClaySoldiersMod:shearBlade").setUnlocalizedName("clayShearBlade").setCreativeTab(this.claySoldierTab);
brickLump = (new ItemGlobal(itemIDs[12] - 256)).setIconFile("ClaySoldiersMod:brickLump").setUnlocalizedName("brickLump").setCreativeTab(this.claySoldierTab);
arenaPlacer = (new ItemArenaPlacer(itemIDs[13] - 256)).setUnlocalizedName("arenaPlacer").setCreativeTab(this.claySoldierTab);
}
Aggregations