GT5-Unofficial/src/main/java/gregtech/api/util/GT_CreativeTab.java
2015-10-21 22:06:25 -04:00

24 lines
No EOL
716 B
Java

package gregtech.api.util;
import gregtech.api.enums.ItemList;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class GT_CreativeTab extends CreativeTabs {
public GT_CreativeTab(String aName, String aLocalName) {
super("GregTech." + aName);
GT_LanguageManager.addStringLocalization("itemGroup.GregTech." + aName, aLocalName);
}
@Override
public ItemStack getIconItemStack() {
return ItemList.Tool_Cheat.get(1, new ItemStack(Blocks.iron_block, 1));
}
@Override
public Item getTabIconItem() {
return ItemList.Circuit_Integrated.getItem();
}
}