Added basic ee3 support for all machines, will not work right when it has two outputs
This commit is contained in:
parent
309321dbdc
commit
9075692951
4 changed files with 23 additions and 7 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue