package net.minecraft.creativetab; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import java.util.List; import net.minecraft.enchantment.EnumEnchantmentType; import net.minecraft.item.Item; final class CreativeTabMisc extends CreativeTabs { CreativeTabMisc(int par1, String par2Str) { super(par1, par2Str); } @SideOnly(Side.CLIENT) /** * the itemID for the item to be displayed on the tab */ public int getTabIconItemIndex() { return Item.bucketLava.itemID; } @SideOnly(Side.CLIENT) /** * only shows items which have tabToDisplayOn == this */ public void displayAllReleventItems(List par1List) { super.displayAllReleventItems(par1List); this.func_92116_a(par1List, new EnumEnchantmentType[] {EnumEnchantmentType.all}); } }