File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/com/cleanroommc/groovyscript/compat/mods/calculator Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ mods.calculator.algorithm_separator.recipeBuilder()
21
21
// Takes a non-analysed Circuit and analyses it, converting it into usable Stable or Analysed Circuit. Will produce power
22
22
// and item outputs based on randomly generated NBT data.
23
23
24
- mods. calculator. analysing_chamber. removeByInput (item(' sonarcore:reinforceddirtblock' ))
24
+ mods. calculator. analysing_chamber. removeByOutput (item(' sonarcore:reinforceddirtblock' ))
25
25
// mods.calculator.analysing_chamber.removeAll()
26
26
27
27
mods. calculator. analysing_chamber. recipeBuilder()
Original file line number Diff line number Diff line change @@ -75,11 +75,11 @@ public boolean remove(CalculatorRecipe recipe) {
75
75
}
76
76
77
77
@ MethodDescription (example = @ Example ("item('sonarcore:reinforceddirtblock')" ))
78
- public boolean removeByInput (IIngredient input ) {
78
+ public boolean removeByOutput (IIngredient output ) {
79
79
return AnalysingChamberRecipes .instance ().getRecipes ().removeIf (r -> {
80
- for (ISonarRecipeObject recipeInput : r .recipeInputs ) {
81
- for (ItemStack itemStack : recipeInput .getJEIValue ()) {
82
- if (input .test (itemStack )) {
80
+ for (ISonarRecipeObject recipeOutput : r .recipeOutputs ) {
81
+ for (ItemStack itemStack : recipeOutput .getJEIValue ()) {
82
+ if (output .test (itemStack )) {
83
83
addBackup (r );
84
84
return true ;
85
85
}
You can’t perform that action at this time.
0 commit comments