GT5-Unofficial/main/java/gregtech/api/util/GT_CreativeTab.java

24 lines
682 B
Java
Raw Normal View History

2015-04-23 16:14:22 +00:00
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();
}
}