OSDN Git Service

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