Interface CookingRecipe.Builder.ResultStep
- All Superinterfaces:
AbstractBuilder<CookingRecipe>, Builder<CookingRecipe, CookingRecipe.Builder>, CookingRecipe.Builder, ResettableBuilder<CookingRecipe, CookingRecipe.Builder>
- Enclosing interface:
CookingRecipe.Builder
-
Nested Class Summary
Nested classes/interfaces inherited from interface CookingRecipe.Builder
CookingRecipe.Builder.EndStep, CookingRecipe.Builder.IngredientStep, CookingRecipe.Builder.ResultStep -
Method Summary
Modifier and TypeMethodDescriptionresult(Function<RecipeInput.Single, ? extends ItemStackLike> resultFunction, ItemStackLike exemplaryResult) Sets the result function and an exemplary result.default CookingRecipe.Builder.EndStepChanges the result and returns this builder.result(ItemStackLike result) Changes the result and returns this builder.Changes the result and returns this builder.Methods inherited from interface AbstractBuilder
buildMethods inherited from interface CookingRecipe.Builder
type, type
-
Method Details
-
result
Changes the result and returns this builder. The result is theItemTypecreated when the recipe is fulfilled.- Parameters:
result- The output of this recipe- Returns:
- This builder, for chaining
-
result
Changes the result and returns this builder. The result is theItemTypecreated when the recipe is fulfilled.- Parameters:
result- The output of this recipe- Returns:
- This builder, for chaining
-
result
Changes the result and returns this builder. The result is theItemStackLikecreated when the recipe is fulfilled.- Parameters:
result- The output of this recipe- Returns:
- This builder, for chaining
-
result
CookingRecipe.Builder.EndStep result(Function<RecipeInput.Single, ? extends ItemStackLike> resultFunction, ItemStackLike exemplaryResult) Sets the result function and an exemplary result.- Parameters:
resultFunction- The result functionexemplaryResult- The exemplary result stack- Returns:
- The builder
-