Interface ShapelessCraftingRecipe.Builder
- All Superinterfaces:
AbstractBuilder<ShapelessCraftingRecipe>,Builder<ShapelessCraftingRecipe,,ShapelessCraftingRecipe.Builder> ResettableBuilder<ShapelessCraftingRecipe,ShapelessCraftingRecipe.Builder>
- All Known Subinterfaces:
ShapelessCraftingRecipe.Builder.EndStep,ShapelessCraftingRecipe.Builder.ResultStep
- Enclosing interface:
ShapelessCraftingRecipe
public static interface ShapelessCraftingRecipe.Builder
extends Builder<ShapelessCraftingRecipe,ShapelessCraftingRecipe.Builder>
The Builder for
ShapelessCraftingRecipes.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceIn this Step set the group of the Recipe and/or build it.static interfaceIn 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
-
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
-