Interface ShapedCraftingRecipe.Builder.RowsStep
- All Superinterfaces:
AbstractBuilder<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
In this Step add one or more rows of Ingredients.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceIn 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
Modifier and TypeMethodDescriptionrow(int skip, Ingredient... ingredients) Adds a row of ingredients filling the skipped columns withIngredient.empty().row(Ingredient... ingredients) Adds a row of ingredients.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
buildMethods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
keyMethods inherited from interface org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder
aisle, rows
-
Method Details
-
row
Adds a row of ingredients.- Parameters:
ingredients- The row of ingredients.- Returns:
- This builder
-
row
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
-