package net.shadowfacts.enfusion.recipes;

import net.shadowfacts.enfusion.block.EFBlocks;
import net.shadowfacts.enfusion.item.EFItems;
import net.shadowfacts.enfusion.machine.grinder.recipe.GrinderOutput;
import net.shadowfacts.enfusion.machine.grinder.recipe.GrinderRecipe;
import net.shadowfacts.enfusion.machine.grinder.recipe.GrinderRecipeRegistry;

import java.util.ArrayList;

/**
 * @author shadowfacts
 */
public class EFRecipes {

	public static void registerAll() {
		registerCraftingRecipes();
		registerFurnaceRecipes();
		registerGrinderRecipes();
	}

	private static void registerCraftingRecipes() {

	}

	private static void registerFurnaceRecipes() {

	}

	private static void registerGrinderRecipes() {
		ArrayList<GrinderOutput> outputs = new ArrayList<>();

//		Chalcopyrite
		outputs.add(new GrinderOutput(EFItems.dustCopper, 0.25));
		outputs.add(new GrinderOutput(EFItems.dustIron, 0.25));
		outputs.add(new GrinderOutput(EFItems.sulfur, 0.5));
		GrinderRecipeRegistry.addRecipe(new GrinderRecipe(EFBlocks.oreChalcopyrite, outputs));
		outputs.clear();
	}

}

@@ -1069,15 +1069,244 @@
 clear();
+%0A%0A//%09%09Galena%0A%09%09outputs.add(new GrinderOutput(EFItems.dustLead, 0.5));%0A%09%09outputs.add(new GrinderOutput(EFItems.sulfur, 0.5));%0A%09%09GrinderRecipeRegistry.addRecipe(new GrinderRecipe(EFBlocks.oreGalena, outputs));%0A%09%09outputs.clear();%0A%09%09
 %0A%09%7D%0A%0A%7D%0A

Add Galena grinder recipe