Interface ShapelessCraftingRecipe.Builder
-
- All Superinterfaces:
Buildable.Builder<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 forShapelessCraftingRecipes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceShapelessCraftingRecipe.Builder.EndStepIn this Step set the group of the Recipe and/or build it.static interfaceShapelessCraftingRecipe.Builder.ResultStepIn this Step set the result of the Recipe.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShapelessCraftingRecipe.Builder.ResultStepaddIngredients(Supplier<? extends ItemType>... ingredients)Adds ingredients for this recipe.ShapelessCraftingRecipe.Builder.ResultStepaddIngredients(ItemType... ingredients)Adds ingredients for this recipe.ShapelessCraftingRecipe.Builder.ResultStepaddIngredients(Ingredient... ingredients)Adds ingredients for this recipe.-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
-
-
-
Method Detail
-
addIngredients
ShapelessCraftingRecipe.Builder.ResultStep addIngredients(ItemType... ingredients)
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
ShapelessCraftingRecipe.Builder.ResultStep addIngredients(Ingredient... ingredients)
Adds ingredients for this recipe.- Parameters:
ingredients- The ingredients to add- Returns:
- This builder, for chaining
-
-