aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-01-02 14:31:16 +0800
committershedaniel <daniel@shedaniel.me>2020-01-02 14:31:16 +0800
commit5e2eccadbd91171c01cdb209d1338bcfb7786b1c (patch)
tree6c7387de5baea8b335e8abe58651018f77ad2d41 /src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java
parente8714fe8fc1dcaec7ad299c63e2b657870c8fb40 (diff)
downloadRoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.tar.gz
RoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.tar.bz2
RoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.zip
3.3
Fix #58 Close #134 Close #158 Fix #227
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java b/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java
index 8d7886273..588010042 100644
--- a/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java
+++ b/src/main/java/me/shedaniel/rei/api/LiveRecipeGenerator.java
@@ -11,15 +11,15 @@ import java.util.List;
import java.util.Optional;
public interface LiveRecipeGenerator<T extends RecipeDisplay> {
-
+
Identifier getCategoryIdentifier();
-
+
default Optional<List<T>> getRecipeFor(EntryStack entry) {
return Optional.empty();
}
-
+
default Optional<List<T>> getUsageFor(EntryStack entry) {
return Optional.empty();
}
-
+
}