aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-12-22 22:23:50 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-12-22 22:23:50 +1000
commitfde53d8f0df9823448c00a10ce131e50c6c2ab3f (patch)
tree20224889874add1ba80a483f0d5216ff2d6275c7 /src/Java/gtPlusPlus/xmod/gregtech
parente95b35542d8de340835c00d4d21b527350d0cd6c (diff)
downloadGT5-Unofficial-fde53d8f0df9823448c00a10ce131e50c6c2ab3f.tar.gz
GT5-Unofficial-fde53d8f0df9823448c00a10ce131e50c6c2ab3f.tar.bz2
GT5-Unofficial-fde53d8f0df9823448c00a10ce131e50c6c2ab3f.zip
+ Added a Molten Li2BeF4 fluid.
% Modified BaseItemComponent.java to support custom cell generation more easily. + Added a LFTR test recipe. + Added LFTR recipe support. % Changed FirePit Model.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java5
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java23
2 files changed, 28 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java b/src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
index 62b3aa9bcc..9eaf13dca3 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
@@ -90,5 +90,10 @@ public interface IGregtech_RecipeAdder {
* @return true if the Recipe got added, otherwise false.
*/
public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aOutput, int aChance, int aDuration, int aEUt);
+
+
+ public boolean addLFTRRecipe(ItemStack aInput1, ItemStack aInput2, ItemStack aOutput1, int aDuration, int aEUt);
+ public boolean addLFTRRecipe(ItemStack aInput1, FluidStack aInput2, ItemStack aOutput1, FluidStack aOutput2, int aDuration, int aEUt);
+ public boolean addLFTRRecipe(FluidStack aInput1, FluidStack aInput2, FluidStack aOutput1, int aDuration, int aEUt);
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java b/src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java
index cdec6d6c32..9fa070a4f8 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java
@@ -280,4 +280,27 @@ public class GregtechRecipeAdder implements IGregtech_RecipeAdder {
return true;
}
+
+
+ @Override
+ public boolean addLFTRRecipe(ItemStack aInput1, FluidStack aInput2,
+ ItemStack aOutput1, FluidStack aOutput2, int aDuration, int aEUt) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public boolean addLFTRRecipe(ItemStack aInput1, ItemStack aInput2, ItemStack aOutput1, int aDuration, int aEUt) {
+ return false;
+ }
+
+ @Override
+ public boolean addLFTRRecipe(FluidStack aInput1, FluidStack aInput2, FluidStack aOutput1, int aDuration, int aEUt) {
+ if (aInput1 == null || aInput2 == null || aOutput1 == null || aDuration < 1 || aEUt < 1) {
+ return false;
+ }
+ Recipe_GT.Gregtech_Recipe_Map.sLiquidFluorineThoriumReactorRecipes.addRecipe(null, new FluidStack[]{aInput1, aInput2}, new FluidStack[]{aOutput1}, aDuration, aEUt, 16000);
+ return true;
+ }
+
}