diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-08-10 18:52:45 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-08-10 18:52:45 +0300 |
| commit | 0427ab89f1753a44b30cbc35ce021cbbdc845109 (patch) | |
| tree | abe418ff5ec174e712fe8dedd434548a945b15a3 /src/main/java/ihl/IHLCreativeTab.java | |
| parent | 877312184c472d9845e5ef1008bc538f4634059f (diff) | |
fix missing source folder
Diffstat (limited to 'src/main/java/ihl/IHLCreativeTab.java')
| -rw-r--r-- | src/main/java/ihl/IHLCreativeTab.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main/java/ihl/IHLCreativeTab.java b/src/main/java/ihl/IHLCreativeTab.java new file mode 100644 index 0000000..ddccc5b --- /dev/null +++ b/src/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 |
