Interface Recipe<C extends Container>

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

public interface Recipe<C extends Container>
  • Method Details

    • matches

      boolean matches(C p_44002_, Level p_44003_)
    • assemble

      ItemStack assemble(C p_44001_, RegistryAccess p_267165_)
    • canCraftInDimensions

      boolean canCraftInDimensions(int p_43999_, int p_44000_)
    • getResultItem

      ItemStack getResultItem(RegistryAccess p_267052_)
    • getRemainingItems

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

      default NonNullList<Ingredient> getIngredients()
    • isSpecial

      default boolean isSpecial()
    • showNotification

      default boolean showNotification()
    • getGroup

      default String getGroup()
    • getToastSymbol

      default ItemStack getToastSymbol()
    • getId

    • getSerializer

      RecipeSerializer<?> getSerializer()
    • getType

      RecipeType<?> getType()
    • isIncomplete

      default boolean isIncomplete()