aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/RecipeDisplay.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/RecipeDisplay.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java b/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java
index 4fb564133..9e17159bc 100644
--- a/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java
+++ b/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java
@@ -15,16 +15,35 @@ import java.util.Optional;
public interface RecipeDisplay<T extends Recipe> {
+ /**
+ * @return the optional recipe
+ */
Optional<T> getRecipe();
+ /**
+ * @return a list of items
+ */
List<List<ItemStack>> getInput();
+ /**
+ * @return a list of outputs
+ */
List<ItemStack> getOutput();
+ /**
+ * Gets the required items used in craftable filters
+ *
+ * @return the list of required items
+ */
default List<List<ItemStack>> getRequiredItems() {
return Lists.newArrayList();
}
+ /**
+ * Gets the recipe display category identifier
+ *
+ * @return the identifier of the category
+ */
Identifier getRecipeCategory();
}