Added blaze dust and HOP graphite dust recipes.

This commit is contained in:
drcrazy 2018-07-30 13:07:50 +03:00
parent a6f242e7e6
commit a75a493de7
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -238,6 +238,11 @@ public class ModRecipes {
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");
marbleStack.setCount(1);
@ -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));