diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-12-11 20:24:47 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-12-11 20:24:47 +0800 |
| commit | 90b8a8181eb7e642fb88832f8bd8baa3acdcf804 (patch) | |
| tree | 85774b5a26be6a8303f99c5316aee320a737ffc8 /RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeHelper.java | |
| parent | 14edd7e3f9e3716ff60e9d918760049c1313a485 (diff) | |
| download | RoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.tar.gz RoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.tar.bz2 RoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.zip | |
Remove deprecated classes
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeHelper.java')
| -rw-r--r-- | RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeHelper.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeHelper.java index 205608e14..b0c61e380 100644 --- a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeHelper.java +++ b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeHelper.java @@ -36,7 +36,6 @@ import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Optional; @@ -138,19 +137,6 @@ public interface RecipeHelper { */ void registerDisplay(RecipeDisplay display); - /** - * Registers a recipe display. - * - * @param categoryIdentifier the category to display in - * @param display the recipe display - * @deprecated Use {@link RecipeHelper#registerDisplay(RecipeDisplay)} - */ - @ApiStatus.ScheduledForRemoval - @Deprecated - default void registerDisplay(ResourceLocation categoryIdentifier, RecipeDisplay display) { - registerDisplay(display); - } - Map<RecipeCategory<?>, List<RecipeDisplay>> buildMapFor(ClientHelper.ViewSearchBuilder builder); /** @@ -263,15 +249,6 @@ public interface RecipeHelper { void registerLiveRecipeGenerator(LiveRecipeGenerator<?> liveRecipeGenerator); /** - * @deprecated Use {@link #registerContainerClickArea(Rectangle, Class, ResourceLocation...)} for the same result. - */ - @Deprecated - @ApiStatus.ScheduledForRemoval - default void registerScreenClickArea(Rectangle rectangle, Class<? extends AbstractContainerScreen<?>> screenClass, ResourceLocation... categories) { - registerContainerClickArea(rectangle, screenClass, categories); - } - - /** * Registers a click area for a container screen. * * @param rectangle The click area that is offset to the container screen's top left corner. @@ -318,25 +295,6 @@ public interface RecipeHelper { <T extends Recipe<?>> void registerRecipes(ResourceLocation category, Function<Recipe, Boolean> recipeFilter, Function<T, RecipeDisplay> mappingFunction); @ApiStatus.Internal - @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "6.0") - default List<RecipeHelper.ScreenClickArea> getScreenClickAreas() { - return Collections.emptyList(); - } - - @ApiStatus.Internal boolean arePluginsLoading(); - - @ApiStatus.Internal - @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "6.0") - interface ScreenClickArea { - Class<? extends Screen> getScreenClass(); - - Rectangle getRectangle(); - - ResourceLocation[] getCategories(); - } - } |
