Interface StoneCutterRecipe.Builder.EndStep
-
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,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.EndStep extends StoneCutterRecipe.Builder, Builder<RecipeRegistration,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 RecipeRegistration
build()
Builds theStoneCutterRecipe
.StoneCutterRecipe.Builder.EndStep
group(@Nullable java.lang.String name)
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.single.StoneCutterRecipe.Builder
ingredient, ingredient, ingredient
-
-
-
-
Method Detail
-
group
StoneCutterRecipe.Builder.EndStep group(@Nullable java.lang.String name)
Sets the group of the recipe.- Parameters:
name
- the group- Returns:
- This builder, for chaining
-
build
RecipeRegistration build() throws java.lang.IllegalStateException
Builds theStoneCutterRecipe
.- Specified by:
build
in interfaceAbstractBuilder<RecipeRegistration>
- Specified by:
build
in interfaceBuildable.Builder<RecipeRegistration>
- Returns:
- The built stone cutter recipe
- Throws:
java.lang.IllegalStateException
- If not all the recipe builder steps are completed or theResourceKeyedBuilder.key(ResourceKey)
isn't set.
-
-