Interface Recipe<C extends Container>

All Known Subinterfaces:
CraftingRecipe, IShapedRecipe<T>
All Known Implementing Classes:
AbstractCookingRecipe, ArmorDyeRecipe, BannerDuplicateRecipe, BlastingRecipe, BookCloningRecipe, CampfireCookingRecipe, CustomRecipe, FireworkRocketRecipe, FireworkStarFadeRecipe, FireworkStarRecipe, MapCloningRecipe, MapExtendingRecipe, RepairItemRecipe, ShapedRecipe, ShapelessRecipe, ShieldDecorationRecipe, ShulkerBoxColoring, SingleItemRecipe, SmeltingRecipe, SmokingRecipe, StonecutterRecipe, SuspiciousStewRecipe, TippedArrowRecipe, UpgradeRecipe

public interface Recipe<C extends Container>
  • Method Details

    • matches

      boolean matches(C p_44002_, Level p_44003_)
    • assemble

      ItemStack assemble(C p_44001_)
    • canCraftInDimensions

      boolean canCraftInDimensions(int p_43999_, int p_44000_)
    • getResultItem

      ItemStack getResultItem()
    • getRemainingItems

      default NonNullList<ItemStack> getRemainingItems(C p_44004_)
    • getIngredients

      default NonNullList<Ingredient> getIngredients()
    • isSpecial

      default boolean isSpecial()
    • getGroup

      default String getGroup()
    • getToastSymbol

      default ItemStack getToastSymbol()
    • getId

    • getSerializer

      RecipeSerializer<?> getSerializer()
    • getType

      RecipeType<?> getType()
    • isIncomplete

      default boolean isIncomplete()