diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-06-18 20:07:38 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-06-18 20:07:38 +0800 |
| commit | 609c2238e12ad9835c449cd9f9da842ca747d5dc (patch) | |
| tree | 87d52715819b31543afe88137cd196ce6d7e9cad /src/main/java/me/shedaniel/rei/api/DisplayVisibilityHandler.java | |
| parent | 4f3a2eae017efe3ff6896f5c01d58c7b1a27d814 (diff) | |
| download | RoughlyEnoughItems-609c2238e12ad9835c449cd9f9da842ca747d5dc.tar.gz RoughlyEnoughItems-609c2238e12ad9835c449cd9f9da842ca747d5dc.tar.bz2 RoughlyEnoughItems-609c2238e12ad9835c449cd9f9da842ca747d5dc.zip | |
nah let's break everyone's plugins
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/DisplayVisibilityHandler.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/DisplayVisibilityHandler.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/DisplayVisibilityHandler.java b/src/main/java/me/shedaniel/rei/api/DisplayVisibilityHandler.java index f29ca9129..5e6cde696 100644 --- a/src/main/java/me/shedaniel/rei/api/DisplayVisibilityHandler.java +++ b/src/main/java/me/shedaniel/rei/api/DisplayVisibilityHandler.java @@ -5,7 +5,7 @@ package me.shedaniel.rei.api; -import me.shedaniel.rei.gui.config.DisplayVisibility; +import net.minecraft.util.ActionResult; public interface DisplayVisibilityHandler { @@ -20,14 +20,14 @@ public interface DisplayVisibilityHandler { /** * Handles the visibility of the display. - * {@link DisplayVisibility#PASS} to pass the handling to another handler - * {@link DisplayVisibility#ALWAYS_VISIBLE} to always display it - * {@link DisplayVisibility#NEVER_VISIBLE} to never display it + * {@link ActionResult#PASS} to pass the handling to another handler + * {@link ActionResult#SUCCESS} to always display it + * {@link ActionResult#FAIL} to never display it * * @param category the category of the display * @param display the display of the recipe * @return the visibility */ - DisplayVisibility handleDisplay(RecipeCategory<?> category, RecipeDisplay display); + ActionResult handleDisplay(RecipeCategory<?> category, RecipeDisplay display); } |
