diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2017-12-07 16:31:29 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2017-12-07 16:31:29 +1000 |
commit | c964170c46c7242097fcd3076ba61a7851191472 (patch) | |
tree | 81eb22545824445311f35eccc02b5f0a65f40e6c /src/Java/gtPlusPlus/xmod/gregtech/api | |
parent | dd5b8fefd5901d89982bb98455460900ccab6a7c (diff) | |
download | GT5-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')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java | 6 | ||||
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java | 12 |
2 files changed, 17 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java b/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java index 7a0df6c43c..fd548a208b 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java @@ -269,7 +269,11 @@ public enum GregtechItemList implements GregtechItemContainer { Industrial_CuttingFactoryController, //Tiny Fusion - Miniature_Fusion, + Miniature_Fusion, + + //Component Makers + Machine_LV_Component_Maker, Machine_MV_Component_Maker, Machine_HV_Component_Maker, + Machine_EV_Component_Maker, Machine_IV_Component_Maker, 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); } |