From 877312184c472d9845e5ef1008bc538f4634059f Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:50:56 +0300 Subject: fix missing source folder --- main/java/ihl/IHLCreativeTab.java | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 main/java/ihl/IHLCreativeTab.java (limited to 'main/java/ihl/IHLCreativeTab.java') diff --git a/main/java/ihl/IHLCreativeTab.java b/main/java/ihl/IHLCreativeTab.java new file mode 100644 index 0000000..ddccc5b --- /dev/null +++ b/main/java/ihl/IHLCreativeTab.java @@ -0,0 +1,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"; + } +} \ No newline at end of file -- cgit v1.2.3