OSDN Git Service

いろいろした
[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 /**
9  * ChemiCraftの鉱石のクリエイティブタブです
10  * @author mozipi,ponkotate
11  */
12 public class CreativeTabAtomOres extends CreativeTabs {
13
14         public CreativeTabAtomOres(String type) {
15                 super(type);
16         }
17
18
19
20         @Override
21         @SideOnly(Side.CLIENT)
22         public int getTabIconItemIndex() {
23                 return ChemiCraftBase.instance.blockAtomOres[0].blockID;
24         }
25
26
27
28         @Override
29         @SideOnly(Side.CLIENT)
30         public String getTranslatedTabLabel() {
31                 return "AtomsOre";
32         }
33
34 }