diff options
| author | shedaniel <daniel@shedaniel.me> | 2019-11-15 20:09:15 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2019-11-15 20:09:15 +0800 |
| commit | b7246fa0016888fd52c45f9c77df46f9d791e326 (patch) | |
| tree | ca455d73ea2213ef6e5a62855834119715a13fe2 /src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java | |
| parent | 5c34cd8dae4879e04fd825f423e0ddbf8480668e (diff) | |
| download | RoughlyEnoughItems-b7246fa0016888fd52c45f9c77df46f9d791e326.tar.gz RoughlyEnoughItems-b7246fa0016888fd52c45f9c77df46f9d791e326.tar.bz2 RoughlyEnoughItems-b7246fa0016888fd52c45f9c77df46f9d791e326.zip | |
Using more of the API instead of the Impl
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java | 11 |
1 files changed, 0 insertions, 11 deletions
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<T extends RecipeDisplay> { Identifier getCategoryIdentifier(); - @Deprecated - default Optional<List<T>> getRecipeFor(ItemStack stack) { - return Optional.empty(); - } - default Optional<List<T>> getRecipeFor(EntryStack entry) { return Optional.empty(); } - @Deprecated - default Optional<List<T>> getUsageFor(ItemStack stack) { - return Optional.empty(); - } - default Optional<List<T>> getUsageFor(EntryStack entry) { return Optional.empty(); } |
