Interface StoneCutterRecipe.Builder.ResultStep

    • Method Detail

      • result

        StoneCutterRecipe.Builder.EndStep result​(ItemStack result)
        Changes the result and returns this builder. The result is the ItemStack created when the recipe is fulfilled.
        Parameters:
        result - The output of this recipe
        Returns:
        This builder, for chaining
      • result

        StoneCutterRecipe.Builder.EndStep result​(java.util.function.Function<Inventory,​ItemStack> resultFunction,
                                                 ItemStack exemplaryResult)
        Changes the result and returns this builder. The result is the ItemStack created when the recipe is fulfilled.
        Parameters:
        resultFunction - The result function
        exemplaryResult - The exemplary output of this recipe
        Returns:
        This builder, for chaining