Interface ShapelessCraftingRecipe.Builder
-
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,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 forShapelessCraftingRecipe
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ShapelessCraftingRecipe.Builder.EndStep
In this Step set the group of the Recipe and/or build it.static interface
ShapelessCraftingRecipe.Builder.ResultStep
In this Step set the result of the Recipe.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShapelessCraftingRecipe.Builder.ResultStep
addIngredients(java.util.function.Supplier<? extends ItemType>... ingredients)
Adds ingredients for this recipe.ShapelessCraftingRecipe.Builder.ResultStep
addIngredients(ItemType... ingredients)
Adds ingredients for this recipe.ShapelessCraftingRecipe.Builder.ResultStep
addIngredients(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(java.util.function.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
-
-