diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-06-03 17:33:19 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-06-03 17:33:19 +0800 |
| commit | 9fd25621c2b9993666ce8e00bacbe52a18136b95 (patch) | |
| tree | a99ed32a7c293b0098f340c9b4d2ba03d7b037bd /src/main/java/me/shedaniel/rei/api/RecipeHelper.java | |
| parent | e61b1e86e6fe8949616a3dbea14ba3ee7ce31b32 (diff) | |
| download | RoughlyEnoughItems-9fd25621c2b9993666ce8e00bacbe52a18136b95.tar.gz RoughlyEnoughItems-9fd25621c2b9993666ce8e00bacbe52a18136b95.tar.bz2 RoughlyEnoughItems-9fd25621c2b9993666ce8e00bacbe52a18136b95.zip | |
Remove Perfer Visible Recipes
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/RecipeHelper.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/RecipeHelper.java | 10 |
1 files changed, 10 insertions, 0 deletions
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,10 +162,20 @@ 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 * * @param category the identifier of the category |
