increase hot coolant energy output 4x

This commit is contained in:
Blood-Asp 2015-12-21 22:08:13 +01:00
parent a9aac6ff58
commit a448be8d4a
2 changed files with 34 additions and 1 deletions

View file

@ -110,7 +110,7 @@ public class GT_MetaTileEntity_HeatExchanger extends GT_MetaTileEntity_MultiBloc
superheated_threshold /= 4; superheated_threshold /= 4;
do_lava = true; do_lava = true;
} else if (mInputHotFluidHatch.getFluid().isFluidEqual(FluidRegistry.getFluidStack("ic2hotcoolant", 1))) { } else if (mInputHotFluidHatch.getFluid().isFluidEqual(FluidRegistry.getFluidStack("ic2hotcoolant", 1))) {
steam_output_multiplier = 0.5f; steam_output_multiplier = 2f;
} else { } else {
// If we're working with neither, fail out // If we're working with neither, fail out
return false; return false;

View file

@ -15,8 +15,16 @@ import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidRegistry; import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack; import net.minecraftforge.fluids.FluidStack;
import ic2.api.recipe.IRecipeInput;
import ic2.api.recipe.RecipeOutput;
import ic2.api.recipe.ILiquidHeatExchangerManager.HeatExchangeProperty;
import ic2.api.recipe.Recipes;
import ic2.core.block.machine.tileentity.TileEntityLiquidHeatExchanger;
import java.util.Arrays; import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
public class GT_MachineRecipeLoader public class GT_MachineRecipeLoader
implements Runnable { implements Runnable {
@ -1527,6 +1535,31 @@ public class GT_MachineRecipeLoader
} }
} }
try {
Map<String, HeatExchangeProperty> tLiqExchange = ic2.api.recipe.Recipes.liquidCooldownManager.getHeatExchangeProperties();
Iterator<Map.Entry<String, HeatExchangeProperty>> tIterator = tLiqExchange.entrySet().iterator();
while (tIterator.hasNext()) {
Map.Entry<String, HeatExchangeProperty> tEntry = tIterator.next();
if(tEntry.getKey().equals("ic2hotcoolant")){
tIterator.remove();
Recipes.liquidCooldownManager.addFluid("ic2hotcoolant", "ic2coolant", 80);
}
}
} catch (Throwable e) {/*Do nothing*/}
try {
Map<String, HeatExchangeProperty> tLiqExchange = ic2.api.recipe.Recipes.liquidHeatupManager.getHeatExchangeProperties();
Iterator<Map.Entry<String, HeatExchangeProperty>> tIterator = tLiqExchange.entrySet().iterator();
while (tIterator.hasNext()) {
Map.Entry<String, HeatExchangeProperty> tEntry = tIterator.next();
if(tEntry.getKey().equals("ic2coolant")){
tIterator.remove();
Recipes.liquidHeatupManager.addFluid("ic2coolant", "ic2hotcoolant", 80);
}
}
} catch (Throwable e) {/*Do nothing*/}
GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_BobsYerUncleRanks.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null); GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_BobsYerUncleRanks.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null);
GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_Ferru.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null); GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_Ferru.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null);
GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_Aurelia.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null); GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_Aurelia.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null);