public static interface SmeltingRecipe.Builder extends ResettableBuilder<SmeltingRecipe,SmeltingRecipe.Builder>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SmeltingRecipe.Builder.EndStep |
static interface |
SmeltingRecipe.Builder.ResultStep |
| Modifier and Type | Method and Description |
|---|---|
default SmeltingRecipe.Builder.ResultStep |
ingredient(ItemStack ingredient)
Changes the ingredient and returns this builder.
|
SmeltingRecipe.Builder.ResultStep |
ingredient(ItemStackSnapshot ingredient)
Changes the ingredient predicate and returns this builder.
|
default SmeltingRecipe.Builder.ResultStep |
ingredient(ItemType ingredient)
Changes the ingredient and returns this builder.
|
SmeltingRecipe.Builder.ResultStep |
ingredient(Predicate<ItemStackSnapshot> ingredientPredicate,
ItemStackSnapshot exemplaryIngredient)
Changes the ingredient predicate and returns this builder.
|
from, resetSmeltingRecipe.Builder.ResultStep ingredient(Predicate<ItemStackSnapshot> ingredientPredicate, ItemStackSnapshot exemplaryIngredient)
true in order for this recipe to be fulfilled.ingredientPredicate - The ingredient predicateexemplaryIngredient - An exemplary ingredientSmeltingRecipe.Builder.ResultStep ingredient(ItemStackSnapshot ingredient)
true in order for this recipe to be fulfilled.
The vanilla ItemStack matching behavior is used as the
ingredient predicate.
ingredient - The required ingredientdefault SmeltingRecipe.Builder.ResultStep ingredient(ItemStack ingredient)
ItemStack required in order for the recipe to be
fulfilled.ingredient - The required ingredientdefault SmeltingRecipe.Builder.ResultStep ingredient(ItemType ingredient)
ItemStack required in order for the recipe to be
fulfilled.ingredient - The required ingredient