aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java4
-rw-r--r--src/main/java/gregtech/common/GT_RecipeAdder.java3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java b/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
index 235111c6ef..77e6bd6742 100644
--- a/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
+++ b/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
@@ -1187,12 +1187,13 @@ public interface IGT_RecipeAdder {
*/
boolean addSifterRecipe(ItemStack aItemToSift, ItemStack[] aSiftedItems, int[] aChances, int aDuration, int aEUt);
/**
- * Adds a Generalised Laser Engraver Recipe.
+ * Adds a Generalised Sifter Recipe.
*
* @param ItemInputArray Array of input items.
* @param FluidInputArray Array of output items.
* @param OutputItemArray Array of input fluids.
* @param FluidOutputArray Array of output items.
+ * @param aChances Array of output chances.
* @param aDuration Must be > 0. Duration in ticks.
* @param aEUt Should be > 0. EU/t.
* @param aCleanroom Boolean for usage of cleanroom in recipe.
@@ -1202,6 +1203,7 @@ public interface IGT_RecipeAdder {
FluidStack[] FluidInputArray,
ItemStack[] OutputItemArray,
FluidStack[] FluidOutputArray,
+ int[] aChances,
int aDuration,
int aEUt,
boolean aCleanroom);
diff --git a/src/main/java/gregtech/common/GT_RecipeAdder.java b/src/main/java/gregtech/common/GT_RecipeAdder.java
index 961aba440f..1d0b4795fe 100644
--- a/src/main/java/gregtech/common/GT_RecipeAdder.java
+++ b/src/main/java/gregtech/common/GT_RecipeAdder.java
@@ -2874,6 +2874,7 @@ public class GT_RecipeAdder implements IGT_RecipeAdder {
FluidStack[] FluidInputArray,
ItemStack[] OutputItemArray,
FluidStack[] FluidOutputArray,
+ int[] aChances,
int aDuration,
int aEUt,
boolean aCleanroom) {
@@ -2882,7 +2883,7 @@ public class GT_RecipeAdder implements IGT_RecipeAdder {
ItemInputArray,
OutputItemArray,
null,
- null,
+ aChances,
FluidInputArray,
FluidOutputArray,
aDuration,