diff --git a/build.properties b/build.properties index 298a256f89..aae4821417 100644 --- a/build.properties +++ b/build.properties @@ -11,7 +11,7 @@ tconstruct_version=2.4.0.jenkins320 forestry_version=5.3.0.30 BM_version=2.0.3-344-ss EE3_version=0.3.507 -IC2_version=2.7.8-ex111 +IC2_version=2.7.15-ex111 jei_version=1.11.2:4.2.0.211 ie_version=0.10-57-46 enderio_version=3.0.0.40_alpha diff --git a/src/main/java/org/cyclops/evilcraft/modcompat/ic2/IC2.java b/src/main/java/org/cyclops/evilcraft/modcompat/ic2/IC2.java index e842540c58..39235b5d2f 100644 --- a/src/main/java/org/cyclops/evilcraft/modcompat/ic2/IC2.java +++ b/src/main/java/org/cyclops/evilcraft/modcompat/ic2/IC2.java @@ -1,7 +1,7 @@ package org.cyclops.evilcraft.modcompat.ic2; import ic2.api.recipe.Recipes; -import ic2.core.recipe.RecipeInputItemStack; +import ic2.core.recipe.RecipeInputFactory; import net.minecraft.item.ItemStack; import org.cyclops.evilcraft.Configs; import org.cyclops.evilcraft.block.DarkOre; @@ -17,15 +17,17 @@ public class IC2 { public static void registerMaceratorRecipes() { + RecipeInputFactory recipeInputFactory = new RecipeInputFactory(); + // Macerator dark ore if(Configs.isEnabled(DarkOreConfig.class) && Configs.isEnabled(DarkGemConfig.class)) { - Recipes.macerator.addRecipe(new RecipeInputItemStack(new ItemStack(DarkOre.getInstance())), null, false, + Recipes.macerator.addRecipe(recipeInputFactory.forStack(new ItemStack(DarkOre.getInstance())), null, false, new ItemStack(DarkGem.getInstance(), 2)); } // Macerator dark ore -> crushed if(Configs.isEnabled(DarkGemConfig.class) && Configs.isEnabled(DarkGemCrushedConfig.class)) { - Recipes.macerator.addRecipe(new RecipeInputItemStack(new ItemStack(DarkGem.getInstance())), null, false, + Recipes.macerator.addRecipe(recipeInputFactory.forStack(new ItemStack(DarkGem.getInstance())), null, false, new ItemStack(DarkGemCrushedConfig._instance.getItemInstance(), 1)); } }