Package net.minecraft.creativetab

Examples of net.minecraft.creativetab.CreativeTabs


        for (Item item : (Iterable<Item>) Item.itemRegistry) {
            if (item == null)
                continue;

            CreativeTabs itemTab = item.getCreativeTab();
            if (itemTab != null)
                creativeTabRanges[itemTab.getTabIndex()].with(item);

            if (item.isDamageable()) {
                tools.with(item);
                if (item instanceof ItemPickaxe)
                    picks.with(item);
View Full Code Here


 
 
 
  Config.save();
 
  MechaniCraftBlocks = new CreativeTabs("MechaniCraftBlocks"){ public ItemStack getIconItemStack(){ return new ItemStack(Block.obsidian);}};
  MechaniCraftCombat = new CreativeTabs("MechaniCraftCombat"){ public ItemStack getIconItemStack(){ return new ItemStack(MechaniCraft.ObsidianSword);}};
  MechaniCraftTools = new CreativeTabs("MechaniCraftTools"){ public ItemStack getIconItemStack(){ return new ItemStack(MechaniCraft.ObsidianPickaxe);}};
  MechaniCraftMachines = new CreativeTabs("MechaniCraftMachines"){ public ItemStack getIconItemStack(){ return new ItemStack(MechaniCraft.IronFurnaceBurning);}};
  MechaniCraftMisc = new CreativeTabs("MechaniCraftMisc"){ public ItemStack getIconItemStack(){ return new ItemStack(MechaniCraft.ObsidianIngot);}};
 
  LanguageRegistry.instance().addStringLocalization("itemGroup.MechaniCraftBlocks", "en_US", "MechaniCraft Blocks");
  LanguageRegistry.instance().addStringLocalization("itemGroup.MechaniCraftCombat", "en_US", "MechaniCraft Combat");
  LanguageRegistry.instance().addStringLocalization("itemGroup.MechaniCraftTools", "en_US", "MechaniCraft Tools");
  LanguageRegistry.instance().addStringLocalization("itemGroup.MechaniCraftMachines", "en_US", "MechaniCraft Machines");
View Full Code Here

TOP

Related Classes of net.minecraft.creativetab.CreativeTabs

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.