aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-08-12 21:56:42 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-08-12 21:56:42 +1000
commit2f204855239daa14c085fd74cb34a02fbbf36d73 (patch)
treeceb621923538b9c6bbf7eca87f337ab1ca1c2f8f /src/Java/gtPlusPlus/xmod/gregtech/common
parent25c74de08a9f7510da2f9f32a0e91bc9636ac9a2 (diff)
downloadGT5-Unofficial-2f204855239daa14c085fd74cb34a02fbbf36d73.tar.gz
GT5-Unofficial-2f204855239daa14c085fd74cb34a02fbbf36d73.tar.bz2
GT5-Unofficial-2f204855239daa14c085fd74cb34a02fbbf36d73.zip
+ Added Lava Filter recipe.
+ Added Thermal Boiler manual recipe. $ Fixed OreDict ASM. % Changed recipe handling for the Thermal Boiler.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java
index 67cf171e3f..76d9dd520e 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java
@@ -12,6 +12,7 @@ import gregtech.api.util.*;
import gtPlusPlus.core.block.ModBlocks;
import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.Utils;
+import gtPlusPlus.core.util.item.ItemUtils;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
@@ -59,10 +60,22 @@ extends GT_MetaTileEntity_MultiBlockBase
@Override
public boolean checkRecipe(ItemStack aStack)
{
- Collection<GT_Recipe> hotFuels = GT_Recipe.GT_Recipe_Map.sHotFuels.mRecipeList;
+ Collection<GT_Recipe> hotFuels = Recipe_GT.Gregtech_Recipe_Map.sThermalFuels.mRecipeList;
for (GT_Recipe tRecipe : hotFuels) {
+ Utils.LOG_INFO("iterating hot fuels ");
+ Utils.LOG_INFO("aStack: "+aStack.getDisplayName());
+ Utils.LOG_INFO("========================");
+ Utils.LOG_INFO("Dumping Input: " + ItemUtils.getArrayStackNames(tRecipe.mInputs));
+ Utils.LOG_INFO("Dumping Inputs " + ItemUtils.getFluidArrayStackNames(tRecipe.mFluidInputs));
+ Utils.LOG_INFO("Dumping Duration: " + tRecipe.mDuration);
+ Utils.LOG_INFO("Dumping EU/t: " + tRecipe.mEUt);
+ Utils.LOG_INFO("Dumping Output: " + ItemUtils.getArrayStackNames(tRecipe.mOutputs));
+ Utils.LOG_INFO("Dumping Output: " + ItemUtils.getFluidArrayStackNames(tRecipe.mFluidOutputs));
+ Utils.LOG_INFO("========================");
+
if (depleteInput(tRecipe.getRepresentativeInput(0)))
{
+ Utils.LOG_INFO("found something");
this.mEUt = 400;
this.mMaxProgresstime = (tRecipe.mEUt * 2 / 5);
this.mEfficiencyIncrease = (this.mMaxProgresstime * 30);
@@ -90,6 +103,7 @@ extends GT_MetaTileEntity_MultiBlockBase
if (this.mEUt > 0)
{
int tGeneratedEU = (int)(this.mEUt * 2L * this.mEfficiency / 10000L);
+ Utils.LOG_INFO("tGeneratedEU: "+tGeneratedEU);
if ((tGeneratedEU > 0) && (depleteInput(GT_ModHandler.getWater((tGeneratedEU + 160) / 160)))) {
addOutput(GT_ModHandler.getSteam(tGeneratedEU));
}