Skip to content

Commit

Permalink
Add chance to sifter method (#1705)
Browse files Browse the repository at this point in the history
  • Loading branch information
GDCloudstrike authored Jan 30, 2023
1 parent ea4d03e commit a132001
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1187,12 +1187,13 @@ boolean addFormingPressRecipe(
*/
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 chances for outputs.
* @param aDuration Must be > 0. Duration in ticks.
* @param aEUt Should be > 0. EU/t.
* @param aCleanroom Boolean for usage of cleanroom in recipe.
Expand All @@ -1202,6 +1203,7 @@ boolean addSifterRecipe(
FluidStack[] FluidInputArray,
ItemStack[] OutputItemArray,
FluidStack[] FluidOutputArray,
int[] aChances,
int aDuration,
int aEUt,
boolean aCleanroom);
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/gregtech/common/GT_RecipeAdder.java
Original file line number Diff line number Diff line change
Expand Up @@ -2874,6 +2874,7 @@ public boolean addSifterRecipe(
FluidStack[] FluidInputArray,
ItemStack[] OutputItemArray,
FluidStack[] FluidOutputArray,
int[] aChances,
int aDuration,
int aEUt,
boolean aCleanroom) {
Expand All @@ -2882,7 +2883,7 @@ public boolean addSifterRecipe(
ItemInputArray,
OutputItemArray,
null,
null,
aChances,
FluidInputArray,
FluidOutputArray,
aDuration,
Expand Down

0 comments on commit a132001

Please sign in to comment.