OSDN Git Service

?
[chemicraft/chemicraft.git] / common / pcc / chemicraft / creativetab / CreativeTabAtomOres.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 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 ChemiCraft.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 }