Added basic ee3 support for all machines, will not work right when it has two outputs

This commit is contained in:
modmuss50 2015-05-30 11:47:01 +01:00
parent 309321dbdc
commit 9075692951
4 changed files with 23 additions and 7 deletions

View file

@ -1,10 +1,20 @@
package techreborn.compat.ee3;
import com.pahimar.ee3.api.exchange.RecipeRegistryProxy;
import net.minecraft.item.ItemStack;
import techreborn.api.recipe.IBaseRecipeType;
import techreborn.api.recipe.RecipeHanderer;
public class EmcValues {
public static void init()
{
//TODO
for(IBaseRecipeType recipeType : RecipeHanderer.recipeList){
for(ItemStack output : recipeType.getOutputs()){
//TODO this does not handle multi outputs
RecipeRegistryProxy.addRecipe(output, recipeType.getInputs());
}
}
}
}