aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-01-11 00:34:07 +0800
committershedaniel <daniel@shedaniel.me>2020-01-11 00:34:07 +0800
commita855c0284c3b285dd8a71b57ec35702995ae5b30 (patch)
tree4b2876163d99301960a26ff821aff5c97e3fb02e /src/main/java/me/shedaniel/rei/api/RecipeHelper.java
parentbde33221f4e4732daafdc9ecd3a0e559c1f74ed2 (diff)
downloadRoughlyEnoughItems-a855c0284c3b285dd8a71b57ec35702995ae5b30.tar.gz
RoughlyEnoughItems-a855c0284c3b285dd8a71b57ec35702995ae5b30.tar.bz2
RoughlyEnoughItems-a855c0284c3b285dd8a71b57ec35702995ae5b30.zip
3.3.7
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/RecipeHelper.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/RecipeHelper.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
index 448f00d9e..9c50febba 100644
--- a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
+++ b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
@@ -178,7 +178,11 @@ public interface RecipeHelper {
* @deprecated {@link RecipeHelper#isDisplayVisible(RecipeDisplay)} )}
*/
@Deprecated
- boolean isDisplayVisible(RecipeDisplay display, boolean respectConfig);
+ default boolean isDisplayVisible(RecipeDisplay display, boolean respectConfig) {
+ return isDisplayVisible(display);
+ }
+
+ boolean isDisplayNotVisible(RecipeDisplay display);
/**
* Checks if the display is visible by asking recipe visibility handlers