package com.wiccanarts.common.crafting;

import com.wiccanarts.api.WiccanArtsAPI;
import com.wiccanarts.api.recipe.IKettleRecipe;
import com.wiccanarts.common.block.ModBlocks;
import com.wiccanarts.common.item.ModItems;
import net.minecraft.init.Items;
import net.minecraft.init.PotionTypes;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionUtils;

/**
 * This class was created by Arekkuusu on 21/03/2017.
 * It's distributed as part of Wiccan Arts under
 * the MIT license.
 */
public final class KettleCrafting {

	public static IKettleRecipe HEALING;
	public static IKettleRecipe LEAPING;
	public static IKettleRecipe POISON;

	private KettleCrafting() {
	}

	public static void init() {
		ItemStack potion = PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.HEALING);
		HEALING = WiccanArtsAPI.registerKettleRecipe(potion, Items.WHEAT_SEEDS, ModItems.BLOODSTONE, Items.COAL);

		ItemStack potion0 = PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.LEAPING);
		LEAPING = WiccanArtsAPI.registerKettleRecipe(potion0, Items.WHEAT_SEEDS, Items.RABBIT_FOOT, Items.FEATHER);

		ItemStack potion1 = PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.POISON);
		POISON = WiccanArtsAPI.registerKettleRecipe(potion1, Items.WHEAT_SEEDS, ModItems.MALACHITE, Items.SPIDER_EYE);

		ItemStack potion2 = PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.WATER_BREATHING);
		POISON = WiccanArtsAPI.registerKettleRecipe(potion2, Items.WHEAT_SEEDS, Items.FISH, ModBlocks.COQUINA);
	}
}

@@ -75,16 +75,58 @@
 rtsAPI;%0A
+import com.wiccanarts.api.item.crop.Crop;%0A
 import c
@@ -913,33 +913,34 @@
 potion, 
-Items.WHEAT_SEEDS
+Crop.MANDRAKE_ROOT
 , ModIte
@@ -1134,33 +1134,34 @@
 otion0, 
-Items.WHEAT_SEEDS
+Crop.MANDRAKE_ROOT
 , Items.
@@ -1354,33 +1354,34 @@
 otion1, 
-Items.WHEAT_SEEDS
+Crop.MANDRAKE_ROOT
 , ModIte
@@ -1591,25 +1591,26 @@
 n2, 
-Items.WHEAT_SEEDS
+Crop.MANDRAKE_ROOT
 , It

use ALL the mandrakes!