// Path: src/main/java/com/foodcraft/FoodCraft.java
// @Mod(modid="foodcraft", name="FoodCraft", version="1.2.0")
// 
// public class FoodCraft implements NetworkMod {
//     public static boolean JEIIsLoad = false;
//     public static final CreativeTabs FcTabMachine = new CreativeTabs("Jiqi") {//机器&工具
//         public Item getTabIconItem() {
//             return Item.getItemFromBlock(FoodcraftGuiBlocks.Nmj);
//         }
//     };
//     public static final CreativeTabs FcTabPlant = new CreativeTabs("Zhiwu") {//植物
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemLajiao;
//         }
//     };
//     public static final CreativeTabs FcTabDrink = new CreativeTabs("Yingliao") {//饮料
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemPutaozhi;
//         }
//     };
//     public static final CreativeTabs FcTabStaple = new CreativeTabs("Zhushi") {//主食
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemChaotudousifan;
//         }
//     };
//     public static final CreativeTabs FcTabIngredient = new CreativeTabs("Shicai") {//食材
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemMianfen;
//         }
//     };
//     public static final CreativeTabs FcTabSnack = new CreativeTabs("Xiaodian") {//零食
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemJianjiao;
//         }
//     };
// 
//     @SidedProxy(clientSide = "com.foodcraft.proxy.ClientProxy", serverSide = "com.foodcraft.proxy.CommonProxy")
//     private static CommonProxy proxy;
// 
//     @Instance("foodcraft")
//     public static FoodCraft instance;
// 
//     @EventHandler
//     public void preInit(FMLPreInitializationEvent event) {
//         PacketDispatcher.initInstance("foodcraft", this);
//         NERLogManager.log("Loading foodcraft, Version: 1.2.3");
//         JEIIsLoad = Loader.isModLoaded("JustEnoughItems");
//         NERConfigHandler.initConfig(event);
//         NERConfigHandler.getConfig();
//         proxy.preInit(event);
//     }
// 
//     @EventHandler
//     public void init(FMLInitializationEvent event) {
//         proxy.init(event);
//         MinecraftForge.EVENT_BUS.register(new FcSubscribeEvent());
//     }
// 
//     @EventHandler
//     public void postInit(FMLPostInitializationEvent event) {
//         proxy.postInit(event);
//     }
// 
//     @Override
//     public Proxy getProxy() {
//         return proxy;
//     }
// }


import java.util.List;
import com.foodcraft.FoodCraft;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
package com.foodcraft.item;









public class ItemCookie extends FcFood {

    private String[] names = new String[] {"ItemPutaoBG","ItemJinputaoBG","ItemLiBG","ItemTaoziBG","ItemJuziBG","ItemNingmengBG","ItemCaomeiBG","ItemYeziBG"};

    public ItemCookie(int amount, float saturation, String name) {
        super((int)saturation, saturation, name);
        this.setHasSubtypes(true);
        this.setUnlocalizedName("ItemBinggan");
// Path: src/main/java/com/foodcraft/FoodCraft.java
// @Mod(modid="foodcraft", name="FoodCraft", version="1.2.0")
// 
// public class FoodCraft implements NetworkMod {
//     public static boolean JEIIsLoad = false;
//     public static final CreativeTabs FcTabMachine = new CreativeTabs("Jiqi") {//机器&工具
//         public Item getTabIconItem() {
//             return Item.getItemFromBlock(FoodcraftGuiBlocks.Nmj);
//         }
//     };
//     public static final CreativeTabs FcTabPlant = new CreativeTabs("Zhiwu") {//植物
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemLajiao;
//         }
//     };
//     public static final CreativeTabs FcTabDrink = new CreativeTabs("Yingliao") {//饮料
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemPutaozhi;
//         }
//     };
//     public static final CreativeTabs FcTabStaple = new CreativeTabs("Zhushi") {//主食
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemChaotudousifan;
//         }
//     };
//     public static final CreativeTabs FcTabIngredient = new CreativeTabs("Shicai") {//食材
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemMianfen;
//         }
//     };
//     public static final CreativeTabs FcTabSnack = new CreativeTabs("Xiaodian") {//零食
//         public Item getTabIconItem() {
//             return FoodcraftItems.ItemJianjiao;
//         }
//     };
// 
//     @SidedProxy(clientSide = "com.foodcraft.proxy.ClientProxy", serverSide = "com.foodcraft.proxy.CommonProxy")
//     private static CommonProxy proxy;
// 
//     @Instance("foodcraft")
//     public static FoodCraft instance;
// 
//     @EventHandler
//     public void preInit(FMLPreInitializationEvent event) {
//         PacketDispatcher.initInstance("foodcraft", this);
//         NERLogManager.log("Loading foodcraft, Version: 1.2.3");
//         JEIIsLoad = Loader.isModLoaded("JustEnoughItems");
//         NERConfigHandler.initConfig(event);
//         NERConfigHandler.getConfig();
//         proxy.preInit(event);
//     }
// 
//     @EventHandler
//     public void init(FMLInitializationEvent event) {
//         proxy.init(event);
//         MinecraftForge.EVENT_BUS.register(new FcSubscribeEvent());
//     }
// 
//     @EventHandler
//     public void postInit(FMLPostInitializationEvent event) {
//         proxy.postInit(event);
//     }
// 
//     @Override
//     public Proxy getProxy() {
//         return proxy;
//     }
// }


// Path: src/main/java/com/foodcraft/item/ItemCookie.java
import java.util.List;
import com.foodcraft.FoodCraft;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

package com.foodcraft.item;









public class ItemCookie extends FcFood {

    private String[] names = new String[] {"ItemPutaoBG","ItemJinputaoBG","ItemLiBG","ItemTaoziBG","ItemJuziBG","ItemNingmengBG","ItemCaomeiBG","ItemYeziBG"};

    public ItemCookie(int amount, float saturation, String name) {
        super((int)saturation, saturation, name);
        this.setHasSubtypes(true);
        this.setUnlocalizedName("ItemBinggan");
        this.setCreativeTab(FoodCraft.FcTabSnack);