Interface ISqueezerRecipe

All Superinterfaces:
IForestryRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
All Known Subinterfaces:
ISqueezerContainerRecipe

public interface ISqueezerRecipe extends IForestryRecipe
  • Method Details

    • getInputs

      List<net.minecraft.world.item.crafting.Ingredient> getInputs()
      Returns:
      item stacks representing the required resources for one process. Stack size will be taken into account.
    • getProcessingTime

      int getProcessingTime()
      Returns:
      Number of work cycles required to squeeze one set of resources.
    • getRemnants

      net.minecraft.world.item.ItemStack getRemnants()
      Returns:
      Item stack representing the possible remnants from this recipe. (i.e. tin left over from tin cans)
    • getRemnantsChance

      float getRemnantsChance()
      Returns:
      Chance remnants will be produced by a single recipe cycle, from 0 to 1.
    • getFluidOutput

      IFluidProduct getFluidOutput()
      Returns:
      the IFluidProduct describing this recipe's fluid output. Call IFluidProduct.createFluidStack() for the representative/max stack (display + buffer reservation) or IFluidProduct.createRandomFluidStack(net.minecraft.util.RandomSource) for a single cycle's actual output.