Interface ShapelessCraftingRecipe.Builder.EndStep
- All Superinterfaces:
AbstractBuilder<ShapelessCraftingRecipe>,Builder<ShapelessCraftingRecipe,,ShapelessCraftingRecipe.Builder> ResettableBuilder<ShapelessCraftingRecipe,,ShapelessCraftingRecipe.Builder> ShapelessCraftingRecipe.Builder
- Enclosing interface:
ShapelessCraftingRecipe.Builder
public static interface ShapelessCraftingRecipe.Builder.EndStep
extends ShapelessCraftingRecipe.Builder, Builder<ShapelessCraftingRecipe,ShapelessCraftingRecipe.Builder>
In this Step set the group of the Recipe and/or build it.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder
ShapelessCraftingRecipe.Builder.EndStep, ShapelessCraftingRecipe.Builder.ResultStep -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theShapelessCraftingRecipe.Sets the group of the recipe.Methods inherited from interface org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder
addIngredients, addIngredients, addIngredients
-
Method Details
-
group
Sets the group of the recipe.- Parameters:
name- the group- Returns:
- This builder, for chaining
-
build
Builds theShapelessCraftingRecipe.- Specified by:
buildin interfaceAbstractBuilder<ShapelessCraftingRecipe>- Returns:
- The built shapeless crafting recipe
- Throws:
IllegalStateException- If not all the recipe builder steps are completed.
-