Package net.minecraft.data.recipes
Class UpgradeRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.UpgradeRecipeBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Ingredient
private Advancement.Builder
private Ingredient
private Item
private RecipeSerializer<?>
-
Constructor Summary
ConstructorDescriptionUpgradeRecipeBuilder(RecipeSerializer<?> p_126381_, Ingredient p_126382_, Ingredient p_126383_, Item p_126384_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
ensureValid(ResourceLocation p_126399_)
void
save(Consumer<FinishedRecipe> p_126393_, String p_126394_)
void
save(Consumer<FinishedRecipe> p_126396_, ResourceLocation p_126397_)
static UpgradeRecipeBuilder
smithing(Ingredient p_126386_, Ingredient p_126387_, Item p_126388_)
unlocks(String p_126390_, CriterionTriggerInstance p_126391_)
-
Field Details
-
base
-
addition
-
result
-
advancement
-
type
-
-
Constructor Details
-
UpgradeRecipeBuilder
public UpgradeRecipeBuilder(RecipeSerializer<?> p_126381_, Ingredient p_126382_, Ingredient p_126383_, Item p_126384_)
-
-
Method Details
-
smithing
public static UpgradeRecipeBuilder smithing(Ingredient p_126386_, Ingredient p_126387_, Item p_126388_) -
unlocks
-
save
-
save
-
ensureValid
-