2015-05-13 23:22:14 +02:00
|
|
|
package techreborn.compat.ee3;
|
|
|
|
|
2015-05-30 12:47:01 +02:00
|
|
|
import com.pahimar.ee3.api.exchange.RecipeRegistryProxy;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import techreborn.api.recipe.IBaseRecipeType;
|
|
|
|
import techreborn.api.recipe.RecipeHanderer;
|
|
|
|
|
2015-05-13 23:22:14 +02:00
|
|
|
public class EmcValues {
|
|
|
|
|
|
|
|
public static void init()
|
|
|
|
{
|
2015-05-30 12:47:01 +02:00
|
|
|
for(IBaseRecipeType recipeType : RecipeHanderer.recipeList){
|
|
|
|
for(ItemStack output : recipeType.getOutputs()){
|
|
|
|
//TODO this does not handle multi outputs
|
|
|
|
RecipeRegistryProxy.addRecipe(output, recipeType.getInputs());
|
|
|
|
}
|
|
|
|
}
|
2015-05-13 23:22:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|