Interface IForestryRecipe

All Superinterfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
All Known Subinterfaces:
ICarpenterRecipe, ICentrifugeRecipe, IFabricatorRecipe, IFabricatorSmeltingRecipe, IFermenterRecipe, IHygroregulatorRecipe, IMoistenerRecipe, ISqueezerContainerRecipe, ISqueezerRecipe, IStillRecipe

public interface IForestryRecipe extends net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.Container inv, net.minecraft.core.RegistryAccess lookup)
    Deprecated.
    default boolean
    canCraftInDimensions(int width, int height)
    Deprecated.
    default String
    Deprecated.
    net.minecraft.resources.ResourceLocation
     
    default net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient>
    Deprecated.
    default net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack>
    getRemainingItems(net.minecraft.world.Container inv)
    Deprecated.
    net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    default net.minecraft.world.item.ItemStack
    Deprecated.
    net.minecraft.world.item.crafting.RecipeType<?>
     
    default boolean
    Deprecated.
    default boolean
    matches(net.minecraft.world.Container inv, net.minecraft.world.level.Level level)
    Deprecated.

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getResultItem, isIncomplete, showNotification
  • Method Details

    • matches

      @Deprecated default boolean matches(net.minecraft.world.Container inv, net.minecraft.world.level.Level level)
      Deprecated.
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • assemble

      @Deprecated default net.minecraft.world.item.ItemStack assemble(net.minecraft.world.Container inv, net.minecraft.core.RegistryAccess lookup)
      Deprecated.
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • canCraftInDimensions

      @Deprecated default boolean canCraftInDimensions(int width, int height)
      Deprecated.
      Specified by:
      canCraftInDimensions in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getRemainingItems

      @Deprecated default net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.Container inv)
      Deprecated.
      Specified by:
      getRemainingItems in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getIngredients

      @Deprecated default net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getIngredients()
      Deprecated.
      Specified by:
      getIngredients in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • isSpecial

      @Deprecated default boolean isSpecial()
      Deprecated.
      Specified by:
      isSpecial in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getGroup

      @Deprecated default String getGroup()
      Deprecated.
      Specified by:
      getGroup in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getToastSymbol

      @Deprecated default net.minecraft.world.item.ItemStack getToastSymbol()
      Deprecated.
      Specified by:
      getToastSymbol in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getId

      net.minecraft.resources.ResourceLocation getId()
      Specified by:
      getId in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getSerializer

      net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getType

      net.minecraft.world.item.crafting.RecipeType<?> getType()
      Specified by:
      getType in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>