aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal
diff options
context:
space:
mode:
authordraknyte1 <draknyte1@hotmail.com>2016-11-03 00:16:36 +1000
committerdraknyte1 <draknyte1@hotmail.com>2016-11-03 00:16:36 +1000
commitc043d88a57a690b1f40cdcd997cdf00cfe06ad09 (patch)
treec141a5cc008ca5b5c79271abe96bc6e469658f24 /src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal
parent8f5e03f5b792738955b1578f6fd98434b566afb8 (diff)
downloadGT5-Unofficial-c043d88a57a690b1f40cdcd997cdf00cfe06ad09.tar.gz
GT5-Unofficial-c043d88a57a690b1f40cdcd997cdf00cfe06ad09.tar.bz2
GT5-Unofficial-c043d88a57a690b1f40cdcd997cdf00cfe06ad09.zip
+ Added support for using items as input for the Matter fabricator.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java60
1 files changed, 36 insertions, 24 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 73e7a5d56f..62b3aa9bcc 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
@@ -21,7 +21,7 @@ public interface IGregtech_RecipeAdder {
public boolean addFuel(ItemStack aInput1, ItemStack aOutput1, int aEU, int aType);
-
+
/**
* Adds a Matter Fabricator Recipe
*
@@ -32,29 +32,41 @@ public interface IGregtech_RecipeAdder {
* @return true if the Recipe got added, otherwise false.
*/
public boolean addMatterFabricatorRecipe(FluidStack aFluidInput, FluidStack aFluidOutput, int aDuration, int aEUt);
-
-
-
-
+
/**
- * Adds a Recipe for the Dehydrator. (up to 9 Outputs)
- *
+ * Adds a Matter Fabricator Recipe
+ *
+ * @param aItemInput = ItemStack Input, can be null I assume.
+ * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
+ * @param aFluidOutput = Output of the UU-Matter (not 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 addMatterFabricatorRecipe(ItemStack aItemInput, FluidStack aFluidInput, FluidStack aFluidOutput, int aDuration, int aEUt);
+
+
+
+
+ /**
+ * Adds a Recipe for the Dehydrator. (up to 9 Outputs)
+ *
* @param aInput = Input itemstack (not null, and respects StackSize)
* @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
* @param aOutputItems = Itemstack[] (not 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 aInput, FluidStack aFluid, ItemStack[] aOutputItems, int aDuration, int aEUt);
/*public boolean addDehydratorRecipe(FluidStack aFluid, FluidStack aOutputFluid, 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, ItemStack[] aOutputItems, int aDuration, int aEUt);
public boolean addDehydratorRecipe(ItemStack aItemA, ItemStack aItemB, FluidStack aFluid, ItemStack[] aOutputItems, FluidStack aOutputFluid, int aDuration, int aEUt);*/
-
- /**
- * Adds a Recipe for the Dehydrator. (up to 9 Outputs)
- *
+
+ /**
+ * Adds a Recipe for the Dehydrator. (up to 9 Outputs)
+ *
* @param aInput = ItemStack[] (not null, and respects StackSize)
* @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
* @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
@@ -63,20 +75,20 @@ public interface IGregtech_RecipeAdder {
* @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 aFluidInput, FluidStack aFluidOutput, ItemStack[] aOutputItems, int[] aChances, int aDuration, int aEUt);
-
-
- /**
- * Adds a Recipe for the Alloy Blast Smelter. (up to 9 Inputs)
- *
+ */
+ public boolean addDehydratorRecipe(ItemStack[] aInput, FluidStack aFluidInput, FluidStack aFluidOutput, ItemStack[] aOutputItems, int[] aChances, int aDuration, int aEUt);
+
+
+ /**
+ * Adds a Recipe for the Alloy Blast Smelter. (up to 9 Inputs)
+ *
* @param aInput = ItemStack[] (not null, and respects StackSize)
* @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
* @param aChances = Output Change (can be == 0)
* @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 addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aOutput, int aChance, int aDuration, int aEUt);
-
+ */
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aOutput, int aChance, int aDuration, int aEUt);
+
}