From b7246fa0016888fd52c45f9c77df46f9d791e326 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Fri, 15 Nov 2019 20:09:15 +0800 Subject: Using more of the API instead of the Impl --- src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java') diff --git a/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java b/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java index 8200fcdc0..588010042 100644 --- a/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java +++ b/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java @@ -5,7 +5,6 @@ package me.shedaniel.rei.api; -import net.minecraft.item.ItemStack; import net.minecraft.util.Identifier; import java.util.List; @@ -15,20 +14,10 @@ public interface LiveRecipeGenerator { Identifier getCategoryIdentifier(); - @Deprecated - default Optional> getRecipeFor(ItemStack stack) { - return Optional.empty(); - } - default Optional> getRecipeFor(EntryStack entry) { return Optional.empty(); } - @Deprecated - default Optional> getUsageFor(ItemStack stack) { - return Optional.empty(); - } - default Optional> getUsageFor(EntryStack entry) { return Optional.empty(); } -- cgit