2015-01-30 20:16:32 +01:00
|
|
|
package ellpeck.someprettyrandomstuff.creative;
|
|
|
|
|
|
|
|
import ellpeck.someprettyrandomstuff.items.InitItems;
|
|
|
|
import ellpeck.someprettyrandomstuff.items.metalists.TheFoods;
|
|
|
|
import ellpeck.someprettyrandomstuff.util.Util;
|
|
|
|
import net.minecraft.creativetab.CreativeTabs;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
|
|
|
public class CreativeTab extends CreativeTabs{
|
|
|
|
|
|
|
|
public static CreativeTab instance = new CreativeTab();
|
|
|
|
|
|
|
|
public CreativeTab(){
|
|
|
|
super(Util.MOD_ID);
|
|
|
|
}
|
|
|
|
|
|
|
|
public Item getTabIconItem(){
|
|
|
|
return InitItems.itemFoods;
|
|
|
|
}
|
|
|
|
|
|
|
|
public ItemStack getIconItemStack(){
|
2015-02-09 17:25:05 +01:00
|
|
|
return new ItemStack(this.getTabIconItem(), 1, TheFoods.SUBMARINE_SANDWICH.ordinal());
|
2015-01-30 20:16:32 +01:00
|
|
|
}
|
|
|
|
}
|