aboutsummaryrefslogtreecommitdiff
path: root/src/Java/miscutil/xmod/gregtech/api/interfaces
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-09-04 22:34:46 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-09-04 22:34:46 +1000
commitd8dc6e3e04024ea63db16b6859c9f1f08101a924 (patch)
tree0813dafc578bf4b167eb1b447d2f6625e68d0332 /src/Java/miscutil/xmod/gregtech/api/interfaces
parent9760d0067df95c30189c3b67c0ec1d13a021a14e (diff)
downloadGT5-Unofficial-d8dc6e3e04024ea63db16b6859c9f1f08101a924.tar.gz
GT5-Unofficial-d8dc6e3e04024ea63db16b6859c9f1f08101a924.tar.bz2
GT5-Unofficial-d8dc6e3e04024ea63db16b6859c9f1f08101a924.zip
+ Added some base Meta Tile Entities to handle my custom recipe system.
+ Added some Test recipes for the Dehydrator. + Added 3 different recipe handlers for the Dehydrator. % Added a new Method in FluidUtils that accepts a fluidstack and amount to return a fluidstack[].
Diffstat (limited to 'src/Java/miscutil/xmod/gregtech/api/interfaces')
-rw-r--r--src/Java/miscutil/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/Java/miscutil/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java b/src/Java/miscutil/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
index b39c206ecd..32d370d4b1 100644
--- a/src/Java/miscutil/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
+++ b/src/Java/miscutil/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
@@ -31,6 +31,24 @@ public interface IGregtech_RecipeAdder {
* @param aEUt = EU needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addMattrFabricatorRecipe(FluidStack aFluidInput, FluidStack aFluidOutput, int aDuration, int aEUt);
-
+ public boolean addMatterFabricatorRecipe(FluidStack aFluidInput, FluidStack aFluidOutput, int aDuration, int aEUt);
+
+
+
+
+ /**
+ * Adds a Recipe for the Sifter. (up to 9 Outputs)
+ *
+ * @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
+ * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU needed for heating up (must be >= 0)
+ * @return true if the Recipe got added, otherwise false.
+ */
+
+ public boolean addDehydratorRecipe(ItemStack aInput, FluidStack aFluid, ItemStack[] aOutputItems, int aDuration, int aEUt);
+ public boolean addDehydratorRecipe(ItemStack aItemA, ItemStack aItemB, ItemStack[] aOutputItems, int aDuration, int aEUt);
+ public boolean addDehydratorRecipe(ItemStack aItemA, ItemStack aItemB, FluidStack aFluid, ItemStack[] aOutputItems, FluidStack aOutputFluid, int aDuration, int aEUt);
+
+
}