Interface ShapelessCraftingRecipe.Builder
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,Builder<RecipeRegistration,
,ShapelessCraftingRecipe.Builder> ResettableBuilder<RecipeRegistration,
,ShapelessCraftingRecipe.Builder> ResourceKeyedBuilder<RecipeRegistration,
ShapelessCraftingRecipe.Builder>
- All Known Subinterfaces:
ShapelessCraftingRecipe.Builder.EndStep
,ShapelessCraftingRecipe.Builder.ResultStep
- Enclosing interface:
ShapelessCraftingRecipe
public static interface ShapelessCraftingRecipe.Builder
extends ResourceKeyedBuilder<RecipeRegistration,ShapelessCraftingRecipe.Builder>
The Builder for
ShapelessCraftingRecipe
s.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
In this Step set the group of the Recipe and/or build it.static interface
In this Step set the result of the Recipe. -
Method Summary
Modifier and TypeMethodDescriptionaddIngredients
(Supplier<? extends ItemType>... ingredients) Adds ingredients for this recipe.addIngredients
(ItemType... ingredients) Adds ingredients for this recipe.addIngredients
(Ingredient... ingredients) Adds ingredients for this recipe.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
addIngredients
Adds ingredients for this recipe.- Parameters:
ingredients
- The ingredients to add- Returns:
- This builder, for chaining
-
addIngredients
ShapelessCraftingRecipe.Builder.ResultStep addIngredients(Supplier<? extends ItemType>... ingredients) Adds ingredients for this recipe.- Parameters:
ingredients
- The ingredients to add- Returns:
- This builder, for chaining
-
addIngredients
Adds ingredients for this recipe.- Parameters:
ingredients
- The ingredients to add- Returns:
- This builder, for chaining
-