use of buildcraft.api.recipes.IComplexRefineryRecipeManager in project BuildCraft by BuildCraft.
the class ComplexRefiningManager method addBiDirectionalHeatExchange.
private static void addBiDirectionalHeatExchange(FluidDefinition[] coldToHot, int amount, int ticks) {
IComplexRefineryRecipeManager manager = BuildcraftRecipeRegistry.complexRefinery;
for (int h = 1; h < coldToHot.length; h++) {
FluidDefinition cold = coldToHot[h - 1];
FluidDefinition hot = coldToHot[h];
manager.addHeatableRecipe(cold.createFluidStack(amount), hot.createFluidStack(amount), h - 1, h, ticks, false);
manager.addCoolableRecipe(hot.createFluidStack(amount), cold.createFluidStack(amount), h, h - 1, ticks, false);
}
}
Aggregations