Interface IFurnaceRecipes

All Known Implementing Classes:
FurnaceRecipes

public interface IFurnaceRecipes
Interface for the new furnace recipes.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the first smelting recipe by result for a certain itemStorage.
    net.minecraft.world.item.ItemStack
    getSmeltingResult(net.minecraft.world.item.ItemStack itemStack)
    Get the smelting result for a certain itemStack.
  • Method Details

    • getSmeltingResult

      net.minecraft.world.item.ItemStack getSmeltingResult(net.minecraft.world.item.ItemStack itemStack)
      Get the smelting result for a certain itemStack.
      Parameters:
      itemStack - the itemStack to test.
      Returns:
      the result or empty if not existent.
    • getFirstSmeltingRecipeByResult

      IRecipeStorage getFirstSmeltingRecipeByResult(ItemStorage storage)
      Get the first smelting recipe by result for a certain itemStorage.
      Parameters:
      storage - the itemStorage to test.
      Returns:
      the result or null if not existent.