/* * Roughly Enough Items by Danielshe. * Licensed under the MIT License. */ package me.shedaniel.rei.api; import com.google.common.collect.Lists; import net.minecraft.item.ItemStack; import net.minecraft.recipe.Recipe; import net.minecraft.util.Identifier; import java.util.List; import java.util.Optional; public interface RecipeDisplay { /** * @return the optional recipe */ Optional getRecipe(); /** * @return a list of items */ List> getInput(); /** * @return a list of outputs */ List getOutput(); /** * Gets the required items used in craftable filters * * @return the list of required items */ @Deprecated default List> getRequiredItems() { return Lists.newArrayList(); } /** * Gets the recipe display category identifier * * @return the identifier of the category */ Identifier getRecipeCategory(); }