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

24 lines
716 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 {
2015-10-22 02:06:25 +00:00
public GT_CreativeTab(String aName, String aLocalName) {
super("GregTech." + aName);
GT_LanguageManager.addStringLocalization("itemGroup.GregTech." + aName, aLocalName);
}
@Override
2015-04-23 16:14:22 +00:00
public ItemStack getIconItemStack() {
return ItemList.Tool_Cheat.get(1, new ItemStack(Blocks.iron_block, 1));
}
2015-10-22 02:06:25 +00:00
@Override
public Item getTabIconItem() {
return ItemList.Circuit_Integrated.getItem();
}
2015-04-23 16:14:22 +00:00
}