From 609c2238e12ad9835c449cd9f9da842ca747d5dc Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 18 Jun 2019 20:07:38 +0800 Subject: nah let's break everyone's plugins --- .../java/me/shedaniel/rei/api/DisplayVisibilityHandler.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/api/DisplayVisibilityHandler.java') 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); } -- cgit