Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Fix some multis incorrectly restricting fluid input for hatches (#796)
Browse files Browse the repository at this point in the history
* Fix some multis incorrectly restricting fluid input for hatches

* Update dependencies.gradle

---------

Co-authored-by: Martin Robertz <[email protected]>
  • Loading branch information
miozune and Dream-Master authored Dec 9, 2023
1 parent 1f1ce2d commit 539b2c8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.44.104:dev')
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.44.106:dev')
api("com.github.GTNewHorizons:bartworks:0.8.20:dev")

implementation('curse.maven:cofh-core-69162:2388751')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ public RecipeMap<?> getRecipeMap() {
return GTPPRecipeMaps.fishPondRecipes;
}

@Override
protected boolean filtersFluid() {
return false;
}

@Override
public @NotNull CheckRecipeResult checkProcessing() {
ItemStack controllerStack = getControllerSlot();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ public RecipeMap<?> getRecipeMap() {
return RecipeMaps.rockBreakerFakeRecipes;
}

@Override
protected boolean filtersFluid() {
return false;
}

@Override
public boolean isCorrectMachinePart(final ItemStack aStack) {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ public int getRecipeCatalystPriority() {
return -20;
}

@Override
protected boolean filtersFluid() {
return false;
}

@Override
public @NotNull CheckRecipeResult checkProcessing() {
List<FluidStack> fluids = getStoredFluids();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ public int getRecipeCatalystPriority() {
return -20;
}

@Override
protected boolean filtersFluid() {
return false;
}

@Override
public @NotNull CheckRecipeResult checkProcessing() {

Expand Down

0 comments on commit 539b2c8

Please sign in to comment.