public static interface ShapedCraftingRecipe.Builder.AisleStep extends ShapedCraftingRecipe.Builder
Modifier and Type | Interface and Description |
---|---|
static interface |
ShapedCraftingRecipe.Builder.AisleStep.ResultStep
In this Step define one or more Ingredients or continue by
setting the result.
|
ShapedCraftingRecipe.Builder.AisleStep, ShapedCraftingRecipe.Builder.EndStep, ShapedCraftingRecipe.Builder.RowsStep
Modifier and Type | Method and Description |
---|---|
ShapedCraftingRecipe.Builder.AisleStep.ResultStep |
where(char symbol,
Ingredient ingredient)
Sets an ingredient based on the aisle pattern.
|
ShapedCraftingRecipe.Builder.AisleStep.ResultStep |
where(Map<Character,Ingredient> ingredientMap)
Sets multiple ingredients based on the aisle pattern.
|
aisle, rows
from, reset
ShapedCraftingRecipe.Builder.AisleStep.ResultStep where(char symbol, @Nullable Ingredient ingredient) throws IllegalArgumentException
Sets the ingredient to Ingredient.NONE
if
null
is specified.
symbol
- The ingredient symbolingredient
- The ingredient to setIllegalArgumentException
- If the aisle does not contain
the specified character symbolShapedCraftingRecipe.Builder.AisleStep.ResultStep where(Map<Character,Ingredient> ingredientMap) throws IllegalArgumentException
ingredientMap
- The ingredients to setIllegalArgumentException
- If the aisle does not contain
the specified character symbol