OSDN Git Service

変更点をそのままにして修正し、間違っているところを消去&修正
[chemicraft/chemicraft.git] / common / chemicraft / CreativeTabAtoms.java
1 package chemicraft;
2
3 import net.minecraft.src.*;
4 import cpw.mods.fml.common.Side;
5 import cpw.mods.fml.common.asm.SideOnly;
6
7 public class CreativeTabAtoms extends CreativeTabs{
8
9
10         public CreativeTabAtoms(String type) {
11                 super(type);
12         }
13
14         @Override
15         @SideOnly(Side.CLIENT)
16         public int getTabIconItemIndex()
17         {
18                 return ChemiCraft.itemGasCollectingBottle.shiftedIndex;
19         }
20
21         @Override
22         @SideOnly(Side.CLIENT)
23         public String getTranslatedTabLabel()
24         {
25                 return "Atoms";
26         }
27
28 }