TechReborn/src/main/java/techreborn/compat/ee3/EmcValues.java

19 lines
477 B
Java
Raw Normal View History

2015-05-13 23:22:14 +02:00
package techreborn.compat.ee3;
import com.pahimar.ee3.api.exchange.RecipeRegistryProxy;
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()
{
for(IBaseRecipeType recipeType : RecipeHanderer.recipeList){
if(recipeType.getOutputsSize() == 1){
RecipeRegistryProxy.addRecipe(recipeType.getOutput(0), recipeType.getInputs());
}
}
2015-05-13 23:22:14 +02:00
}
}