Interface SmithingRecipe.Builder.EndStep
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,Builder<RecipeRegistration,
,SmithingRecipe.Builder> ResettableBuilder<RecipeRegistration,
,SmithingRecipe.Builder> ResourceKeyedBuilder<RecipeRegistration,
,SmithingRecipe.Builder> SmithingRecipe.Builder
- Enclosing interface:
- SmithingRecipe.Builder
public static interface SmithingRecipe.Builder.EndStep
extends SmithingRecipe.Builder, Builder<RecipeRegistration,SmithingRecipe.Builder>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.smithing.SmithingRecipe.Builder
SmithingRecipe.Builder.AdditionStep, SmithingRecipe.Builder.EndStep, SmithingRecipe.Builder.ResultStep
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theSmithingRecipe
.Sets the group of the recipe.Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
Methods inherited from interface org.spongepowered.api.item.recipe.smithing.SmithingRecipe.Builder
base, base, base
-
Method Details
-
group
Sets the group of the recipe.- Parameters:
name
- the group- Returns:
- This builder, for chaining
-
build
Builds theSmithingRecipe
.- Specified by:
build
in interfaceAbstractBuilder<RecipeRegistration>
- Returns:
- The built stone cutter recipe
- Throws:
IllegalStateException
- If not all the recipe builder steps are completed or theResourceKeyedBuilder.key(ResourceKey)
isn't set.
-