From 9fd25621c2b9993666ce8e00bacbe52a18136b95 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 3 Jun 2019 17:33:19 +0800 Subject: Remove Perfer Visible Recipes --- src/main/java/me/shedaniel/rei/api/RecipeHelper.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/main/java/me/shedaniel/rei/api/RecipeHelper.java') diff --git a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java index a57b7146f..5a5c1b4a2 100644 --- a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java +++ b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java @@ -162,9 +162,19 @@ public interface RecipeHelper { * @param display the display to be checked * @param respectConfig whether it should respect the user's config * @return whether the display should be visible + * @deprecated {@link RecipeHelper#isDisplayVisible(RecipeDisplay)} )} */ + @Deprecated boolean isDisplayVisible(RecipeDisplay display, boolean respectConfig); + /** + * Checks if the display is visible by asking recipe visibility handlers + * + * @param display the display to be checked + * @return whether the display should be visible + */ + boolean isDisplayVisible(RecipeDisplay display); + /** * Gets the cached category setting by the category identifier * -- cgit