summaryrefslogtreecommitdiff
path: root/ihl/IHLCreativeTab.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2016-04-11 19:44:54 +0300
committerFoghrye4 <foghrye4@gmail.com>2016-04-11 19:44:54 +0300
commit05c78126859231a68e199dc34613689bd0978e2f (patch)
tree050bea104a18c72905095d29f31bec2935a27a24 /ihl/IHLCreativeTab.java
Initial commit
Diffstat (limited to 'ihl/IHLCreativeTab.java')
-rw-r--r--ihl/IHLCreativeTab.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/ihl/IHLCreativeTab.java b/ihl/IHLCreativeTab.java
new file mode 100644
index 0000000..ddccc5b
--- /dev/null
+++ b/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