Interface RecipeProvider

All Known Implementing Classes:
RecipeMapRecipeProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RecipeProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    <I extends net.minecraft.world.item.crafting.RecipeInput, T extends net.minecraft.world.item.crafting.Recipe<I>>
    Stream<net.minecraft.world.item.crafting.RecipeHolder<T>>
    getRecipesFor(net.minecraft.world.item.crafting.RecipeType<T> type, I container, net.minecraft.world.level.Level level)
     
  • Method Details

    • getRecipesFor

      <I extends net.minecraft.world.item.crafting.RecipeInput, T extends net.minecraft.world.item.crafting.Recipe<I>> Stream<net.minecraft.world.item.crafting.RecipeHolder<T>> getRecipesFor(net.minecraft.world.item.crafting.RecipeType<T> type, I container, net.minecraft.world.level.Level level)