aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authorAlkalus <Draknyte1@hotmail.com>2020-05-29 20:25:01 +0100
committerAlkalus <Draknyte1@hotmail.com>2020-05-29 20:25:01 +0100
commit85f9a37942da9156436c23beae947a402544bcc9 (patch)
tree18e6f64fc1a56cde460fc5b744c01498a59bfef7 /src/Java/gtPlusPlus/xmod/gregtech/common
parentf2dc49bca798bfeae60a86da35ac0682357cc6d3 (diff)
downloadGT5-Unofficial-85f9a37942da9156436c23beae947a402544bcc9.tar.gz
GT5-Unofficial-85f9a37942da9156436c23beae947a402544bcc9.tar.bz2
GT5-Unofficial-85f9a37942da9156436c23beae947a402544bcc9.zip
= Added recipe for Zyngen.
+ Added recipes for 2 new volumetric flasks. - Removed Alloy Smelting recipes form the Alloy Blast Smelter. (Obsoleted by the Multi Alloy Smelter) % Refactored a lot of NEI handling code. $ Fixed the last few minor NEI issues.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Refinery.java19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Refinery.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Refinery.java
index 4a508f2f0f..d60e248ac1 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Refinery.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Refinery.java
@@ -1,10 +1,5 @@
package gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production;
-import static gregtech.api.enums.GT_Values.E;
-import static gregtech.api.enums.GT_Values.RES_PATH_GUI;
-
-import java.util.HashSet;
-
import gregtech.api.enums.TAE;
import gregtech.api.enums.Textures;
import gregtech.api.interfaces.ITexture;
@@ -12,8 +7,7 @@ import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Input;
import gregtech.api.objects.GT_RenderedTexture;
-import gregtech.api.util.CustomRecipeMap;
-import gregtech.api.util.GT_Recipe;
+import gregtech.api.util.GTPP_Recipe;
import gregtech.api.util.GT_Recipe.GT_Recipe_Map;
import gtPlusPlus.api.objects.Logger;
import gtPlusPlus.core.block.ModBlocks;
@@ -72,16 +66,9 @@ public class GregtechMetaTileEntity_Refinery extends GregtechMeta_MultiBlockBase
return "MatterFabricator";
}
- private static final GT_Recipe_Map mGregTypeRecipeMap = new GT_Recipe_Map(new HashSet<GT_Recipe>(), "internal.recipe.fissionfuel", "Nuclear Fuel Processing", null, RES_PATH_GUI + "basicmachines/FissionFuel", 0, 0, 0, 4, 1, E, 1, E, true, false);
-
@Override
public GT_Recipe_Map getRecipeMap() {
- if (mGregTypeRecipeMap.mRecipeList.size() <= 0) {
- for (GT_Recipe g : CustomRecipeMap.sFissionFuelProcessing.mRecipeList) {
- mGregTypeRecipeMap.mRecipeList.add(g);
- }
- }
- return mGregTypeRecipeMap;
+ return GTPP_Recipe.GTPP_Recipe_Map.sFissionFuelProcessing;
}
@Override
@@ -255,7 +242,7 @@ public class GregtechMetaTileEntity_Refinery extends GregtechMeta_MultiBlockBase
Logger.INFO("Your Muffler must be AT LEAST ZPM tier or higher.");
}
}
- Logger.INFO("Fission Fuel Production Plant Formed. "+mGregTypeRecipeMap.mRecipeList.size());
+ Logger.INFO("Fission Fuel Production Plant Formed. "+this.getRecipeMap().mRecipeList.size());
this.resetRecipeMapForAllInputHatches(this.getRecipeMap());
return true;
}