OSDN Git Service

?
[chemicraft/chemicraft.git] / common / pcc / chemicraft / creativetab / CreativeTabChemiCraft.java
1 package pcc.chemicraft.creativetab;
2
3 import net.minecraft.creativetab.CreativeTabs;
4 import pcc.chemicraft.ChemiCraft;
5 import cpw.mods.fml.relauncher.Side;
6 import cpw.mods.fml.relauncher.SideOnly;
7
8 public class CreativeTabChemiCraft extends CreativeTabs {
9
10         public CreativeTabChemiCraft(String type){
11                 super(type);
12         }
13
14
15
16         @Override
17         @SideOnly(Side.CLIENT)
18         public int getTabIconItemIndex(){
19                 return ChemiCraft.instance.itemGasCollectingBottle.shiftedIndex;
20         }
21
22
23
24         @Override
25         @SideOnly(Side.CLIENT)
26         public String getTranslatedTabLabel(){
27                 return "ChemiCraft";
28         }
29
30 }