package appeng.core; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import appeng.api.AEApi; import appeng.items.parts.ItemFacade; public final class CreativeTabFacade extends CreativeTabs { public static CreativeTabFacade instance = null; public CreativeTabFacade() { super( "appliedenergistics2.facades" ); } @Override public Item getTabIconItem() { return getIconItemStack().getItem(); } @Override public ItemStack getIconItemStack() { return ((ItemFacade) AEApi.instance().items().itemFacade.item()).getCreativeTabIcon(); } public static void init() { instance = new CreativeTabFacade(); } }