aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/api/interfaces
diff options
context:
space:
mode:
authorJordan Byrne <draknyte1@hotmail.com>2017-12-07 16:31:29 +1000
committerJordan Byrne <draknyte1@hotmail.com>2017-12-07 16:31:29 +1000
commitc964170c46c7242097fcd3076ba61a7851191472 (patch)
tree81eb22545824445311f35eccc02b5f0a65f40e6c /src/Java/gtPlusPlus/xmod/gregtech/api/interfaces
parentdd5b8fefd5901d89982bb98455460900ccab6a7c (diff)
downloadGT5-Unofficial-c964170c46c7242097fcd3076ba61a7851191472.tar.gz
GT5-Unofficial-c964170c46c7242097fcd3076ba61a7851191472.tar.bz2
GT5-Unofficial-c964170c46c7242097fcd3076ba61a7851191472.zip
+ Added the component assembler. (Makes Motors, Pistons, etc.)
% More Nitro work.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/interfaces')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java12
1 files changed, 12 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 842f518674..396250dbf7 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
@@ -124,5 +124,17 @@ public interface IGregtech_RecipeAdder {
public boolean addMixerRecipe(ItemStack aInput1, ItemStack aInput2, ItemStack aInput3, ItemStack aInput4,
FluidStack aFluidInput, FluidStack aFluidOutput, ItemStack aOutput1, ItemStack aOutput2, ItemStack aOutput3, ItemStack aOutput4, int aDuration, int aEUt);
+
+ /**
+ * Adds a Recipe for the Machine Component Assembler. (up to 6 Inputs)
+ *
+ * @param aInputs = ItemStack[] (not null, and respects StackSize)
+ * @param aFluidInput = Input of a fluid (can be null, and respects StackSize)
+ * @param aOutput1 = Output ItemStack (not null, and respects StackSize)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @return true if the Recipe got added, otherwise false.
+ */
+ public boolean addComponentMakerRecipe(ItemStack[] aInputs, FluidStack aFluidInput, ItemStack aOutput1, int aDuration, int aEUt);
}