Interface ShapedCraftingRecipe.Builder.RowsStep
-
- All Superinterfaces:
Buildable.Builder<RecipeRegistration>,Builder<RecipeRegistration,ShapedCraftingRecipe.Builder>,ResettableBuilder<RecipeRegistration,ShapedCraftingRecipe.Builder>,ResourceKeyedBuilder<RecipeRegistration,ShapedCraftingRecipe.Builder>,ShapedCraftingRecipe.Builder
- All Known Subinterfaces:
ShapedCraftingRecipe.Builder.RowsStep.ResultStep
- Enclosing interface:
- ShapedCraftingRecipe.Builder
public static interface ShapedCraftingRecipe.Builder.RowsStep extends ShapedCraftingRecipe.Builder
In this Step add one or more rows of Ingredients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceShapedCraftingRecipe.Builder.RowsStep.ResultStepIn this Step add one or more rows of Ingredients or continue by setting the result.-
Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder
ShapedCraftingRecipe.Builder.AisleStep, ShapedCraftingRecipe.Builder.EndStep, ShapedCraftingRecipe.Builder.RowsStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ShapedCraftingRecipe.Builder.RowsStep.ResultSteprow(int skip, Ingredient... ingredients)Adds a row of ingredients filling the skipped columns withIngredient.empty().default ShapedCraftingRecipe.Builder.RowsStep.ResultSteprow(Ingredient... ingredients)Adds a row of ingredients.-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Methods inherited from interface org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder
aisle, rows
-
-
-
-
Method Detail
-
row
default ShapedCraftingRecipe.Builder.RowsStep.ResultStep row(Ingredient... ingredients)
Adds a row of ingredients.- Parameters:
ingredients- The row of ingredients.- Returns:
- This builder
-
row
ShapedCraftingRecipe.Builder.RowsStep.ResultStep row(int skip, Ingredient... ingredients)
Adds a row of ingredients filling the skipped columns withIngredient.empty().- Parameters:
skip- The amount of columns to skip.ingredients- The row of ingredients.- Returns:
- This builder
-
-