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(){
|
2015-02-17 16:15:16 +01:00
|
|
|
super(Util.MOD_ID_LOWER);
|
2015-01-30 20:16:32 +01:00
|
|
|
}
|
|
|
|
|
2015-02-20 22:45:33 +01:00
|
|
|
@Override
|
2015-01-30 20:16:32 +01:00
|
|
|
public Item getTabIconItem(){
|
|
|
|
return InitItems.itemFoods;
|
|
|
|
}
|
|
|
|
|
2015-02-20 22:45:33 +01:00
|
|
|
@Override
|
2015-01-30 20:16:32 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|