Interface ShapedCraftingRecipe.Builder.AisleStep
- All Superinterfaces:
- AbstractBuilder<RecipeRegistration>,- Builder<RecipeRegistration,,- ShapedCraftingRecipe.Builder> - ResettableBuilder<RecipeRegistration,,- ShapedCraftingRecipe.Builder> - ResourceKeyedBuilder<RecipeRegistration,,- ShapedCraftingRecipe.Builder> - ShapedCraftingRecipe.Builder
- All Known Subinterfaces:
- ShapedCraftingRecipe.Builder.AisleStep.ResultStep
- Enclosing interface:
- ShapedCraftingRecipe.Builder
In this Step define one or more Ingredients.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceIn this Step define one or more Ingredients or continue by setting the result.Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.BuilderShapedCraftingRecipe.Builder.AisleStep, ShapedCraftingRecipe.Builder.EndStep, ShapedCraftingRecipe.Builder.RowsStep
- 
Method SummaryModifier and TypeMethodDescriptionwhere(char symbol, @Nullable Ingredient ingredient) Sets an ingredient based on the aisle pattern.where(Map<Character, Ingredient> ingredientMap) Sets multiple ingredients based on the aisle pattern.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilderbuildMethods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilderkeyMethods inherited from interface org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builderaisle, rows
- 
Method Details- 
whereShapedCraftingRecipe.Builder.AisleStep.ResultStep where(char symbol, @Nullable Ingredient ingredient) throws IllegalArgumentException Sets an ingredient based on the aisle pattern.Sets the ingredient to Ingredient.empty()ifnullis specified.- Parameters:
- symbol- The ingredient symbol
- ingredient- The ingredient to set
- Returns:
- The builder
- Throws:
- IllegalArgumentException- If the aisle does not contain the specified character symbol
 
- 
whereShapedCraftingRecipe.Builder.AisleStep.ResultStep where(Map<Character, Ingredient> ingredientMap) throws IllegalArgumentExceptionSets multiple ingredients based on the aisle pattern.- Parameters:
- ingredientMap- The ingredients to set
- Returns:
- The builder
- Throws:
- IllegalArgumentException- If the aisle does not contain the specified character symbol
 
 
-