summaryrefslogtreecommitdiff
path: root/src/main/java/ihl/IHLCreativeTab.java
blob: ddccc5bd7e81a78c43ebc29d8121dec035501d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package ihl;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

public class IHLCreativeTab extends CreativeTabs {
	
    private static ItemStack ic2_handpump;
    public static final CreativeTabs tab = new IHLCreativeTab();
	 
	public IHLCreativeTab()
	{
		super("IHL");
	}

	@Override
	public ItemStack getIconItemStack()
	{
		ic2_handpump = new ItemStack(IHLMod.ic2_handpump);
	    return ic2_handpump;
	}

	@Override
	public Item getTabIconItem()
	{
	   return null;
	}
	
	@Override
	public String getTranslatedTabLabel()
	{
		return "IHL";
	}
}