From a75a493de7aefa7de5106aae8266bd48818aae38 Mon Sep 17 00:00:00 2001 From: drcrazy Date: Mon, 30 Jul 2018 13:07:50 +0300 Subject: [PATCH] Added blaze dust and HOP graphite dust recipes. --- .../immersiveengineering/RecipeImmersiveEngineering.java | 6 ++++++ src/main/java/techreborn/init/ModRecipes.java | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/java/techreborn/compat/immersiveengineering/RecipeImmersiveEngineering.java b/src/main/java/techreborn/compat/immersiveengineering/RecipeImmersiveEngineering.java index c441c8041..d9ed83533 100644 --- a/src/main/java/techreborn/compat/immersiveengineering/RecipeImmersiveEngineering.java +++ b/src/main/java/techreborn/compat/immersiveengineering/RecipeImmersiveEngineering.java @@ -26,12 +26,15 @@ package techreborn.compat.immersiveengineering; import blusunrize.immersiveengineering.common.IEContent; +import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; +import reborncore.api.recipe.RecipeHandler; import techreborn.api.generator.EFluidGenerator; import techreborn.api.generator.GeneratorRecipeHelper; +import techreborn.api.recipe.machines.CompressorRecipe; import techreborn.compat.ICompatModule; public class RecipeImmersiveEngineering implements ICompatModule { @@ -43,6 +46,9 @@ public class RecipeImmersiveEngineering implements ICompatModule { @Override public void init(FMLInitializationEvent event) { GeneratorRecipeHelper.registerFluidRecipe(EFluidGenerator.SEMIFLUID, IEContent.fluidCreosote, 40); + // dust_coke to dust_hop_graphite + RecipeHandler.addRecipe(new CompressorRecipe(new ItemStack(IEContent.itemMaterial, 8, 17), + new ItemStack(IEContent.itemMaterial, 1, 18), 300, 4)); } @Override diff --git a/src/main/java/techreborn/init/ModRecipes.java b/src/main/java/techreborn/init/ModRecipes.java index 30ca2a6cd..d371accc1 100644 --- a/src/main/java/techreborn/init/ModRecipes.java +++ b/src/main/java/techreborn/init/ModRecipes.java @@ -237,6 +237,11 @@ public class ModRecipes { new ItemStack(Blocks.OBSIDIAN), ItemDusts.getDustByName("obsidian", 4), 170, 19)); + + RecipeHandler.addRecipe(new GrinderRecipe( + new ItemStack(Items.BLAZE_ROD), + new ItemStack(Items.BLAZE_POWDER, 4), + 170, 19)); if (OreUtil.doesOreExistAndValid("stoneMarble")) { ItemStack marbleStack = getOre("stoneMarble"); @@ -253,7 +258,7 @@ public class ModRecipes { 120, 10)); } - //See comments bellow, this allows the ore to go to the product when it sometimes goes stright to dust. + //See comments bellow, this allows the ore to go to the product when it sometimes goes straight to dust. RecipeHandler.addRecipe(new GrinderRecipe( "oreCoal", new ItemStack(Items.COAL, 2), 270, 31));