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
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
buildMethods 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
-