Interface ShapedCraftingRecipe.Builder.RowsStep
-
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,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 interface
ShapedCraftingRecipe.Builder.RowsStep.ResultStep
In 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.ResultStep
row(int skip, Ingredient... ingredients)
Adds a row of ingredients filling the skipped columns withIngredient.empty()
.default ShapedCraftingRecipe.Builder.RowsStep.ResultStep
row(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
-
-