Interface SpecialCraftingRecipe.Builder.EndStep
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,Builder<RecipeRegistration,
,SpecialCraftingRecipe.Builder> ResettableBuilder<RecipeRegistration,
,SpecialCraftingRecipe.Builder> ResourceKeyedBuilder<RecipeRegistration,
,SpecialCraftingRecipe.Builder> SpecialCraftingRecipe.Builder
- Enclosing interface:
SpecialCraftingRecipe.Builder
public static interface SpecialCraftingRecipe.Builder.EndStep
extends SpecialCraftingRecipe.Builder, Builder<RecipeRegistration,SpecialCraftingRecipe.Builder>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.crafting.SpecialCraftingRecipe.Builder
SpecialCraftingRecipe.Builder.EndStep, SpecialCraftingRecipe.Builder.ResultStep
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theSpecialCraftingRecipe
.pack
(DataPack<RecipeRegistration> pack) Sets the data pack for the recipe.Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
Methods inherited from interface org.spongepowered.api.item.recipe.crafting.SpecialCraftingRecipe.Builder
matching
-
Method Details
-
pack
Sets the data pack for the recipe.- Parameters:
pack
- The data pack- Returns:
- This builder, for chaining
-
build
Builds theSpecialCraftingRecipe
.- Specified by:
build
in interfaceAbstractBuilder<RecipeRegistration>
- Returns:
- The built special crafting recipe
- Throws:
IllegalStateException
- If not all the recipe builder steps are completed
-