Interface StoneCutterRecipe.Builder.ResultStep
-
- All Superinterfaces:
Buildable.Builder<RecipeRegistration>,Builder<RecipeRegistration,StoneCutterRecipe.Builder>,ResettableBuilder<RecipeRegistration,StoneCutterRecipe.Builder>,ResourceKeyedBuilder<RecipeRegistration,StoneCutterRecipe.Builder>,StoneCutterRecipe.Builder
- Enclosing interface:
- StoneCutterRecipe.Builder
public static interface StoneCutterRecipe.Builder.ResultStep extends StoneCutterRecipe.Builder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.single.StoneCutterRecipe.Builder
StoneCutterRecipe.Builder.EndStep, StoneCutterRecipe.Builder.ResultStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StoneCutterRecipe.Builder.EndStepresult(Function<Inventory,ItemStack> resultFunction, ItemStack exemplaryResult)Changes the result and returns this builder.StoneCutterRecipe.Builder.EndStepresult(ItemStack result)Changes the result and returns this builder.StoneCutterRecipe.Builder.EndStepresult(ItemStackSnapshot result)Changes the result and returns this builder.-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Methods inherited from interface org.spongepowered.api.item.recipe.single.StoneCutterRecipe.Builder
ingredient, ingredient, ingredient
-
-
-
-
Method Detail
-
result
StoneCutterRecipe.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
-
result
StoneCutterRecipe.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
-
result
StoneCutterRecipe.Builder.EndStep result(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 functionexemplaryResult- The exemplary output of this recipe- Returns:
- This builder, for chaining
-
-