Interface SmithingRecipe.Builder.ResultStep
- 
- All Superinterfaces:
- AbstractBuilder<RecipeRegistration>,- Buildable.Builder<RecipeRegistration>,- Builder<RecipeRegistration,SmithingRecipe.Builder>,- ResettableBuilder<RecipeRegistration,SmithingRecipe.Builder>,- ResourceKeyedBuilder<RecipeRegistration,SmithingRecipe.Builder>,- SmithingRecipe.Builder
 - Enclosing interface:
- SmithingRecipe.Builder
 
 public static interface SmithingRecipe.Builder.ResultStep extends SmithingRecipe.Builder 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.smithing.SmithingRecipe.BuilderSmithingRecipe.Builder.AdditionStep, SmithingRecipe.Builder.EndStep, SmithingRecipe.Builder.ResultStep
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description SmithingRecipe.Builder.EndStepresult(java.util.function.Function<Inventory,ItemStack> resultFunction, ItemStack exemplaryResult)Changes the result and returns this builder.SmithingRecipe.Builder.EndStepresult(ItemStack result)Changes the result and returns this builder.SmithingRecipe.Builder.EndStepresult(ItemStackSnapshot result)Changes the result and returns this builder.- 
Methods inherited from interface net.kyori.adventure.util.Buildable.Builderbuild
 - 
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilderkey
 - 
Methods inherited from interface org.spongepowered.api.item.recipe.smithing.SmithingRecipe.Builderbase, base, base
 
- 
 
- 
- 
- 
Method Detail- 
resultSmithingRecipe.Builder.EndStep result(ItemStackSnapshot result) Changes the result and returns this builder. The result is theItemStackcreated when the recipe is fulfilled.- Parameters:
- result- The output of this recipe
- Returns:
- This builder, for chaining
 
 - 
resultSmithingRecipe.Builder.EndStep result(ItemStack result) Changes the result and returns this builder. The result is theItemStackcreated when the recipe is fulfilled.- Parameters:
- result- The output of this recipe
- Returns:
- This builder, for chaining
 
 - 
resultSmithingRecipe.Builder.EndStep result(java.util.function.Function<Inventory,ItemStack> resultFunction, ItemStack exemplaryResult) Changes the result and returns this builder. The result is theItemStackcreated when the recipe is fulfilled.- Parameters:
- resultFunction- The result function
- exemplaryResult- The exemplary output of this recipe
- Returns:
- This builder, for chaining
 
 
- 
 
-