OSDN Git Service

876e61b726eac3627b9870e05adce74fc85d6f11
[chemicraft/chemicraft.git] / common / pcc / chemicraft / util / CreativeTabAtoms.java
1 package pcc.chemicraft.util;
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 CreativeTabAtoms extends CreativeTabs {
9
10         public CreativeTabAtoms(String type){
11                 super(type);
12         }
13
14
15         @Override
16         @SideOnly(Side.CLIENT)
17         public int getTabIconItemIndex(){
18                 return ChemiCraft.instance.itemGasCollectingBottle.shiftedIndex;
19         }
20
21
22
23         @Override
24         @SideOnly(Side.CLIENT)
25         public String getTranslatedTabLabel(){
26                 return "Atoms";
27         }
28
29 }