Package net.minecraft.data.recipes
Class SmithingTrimRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.SmithingTrimRecipeBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Ingredient
private final Advancement.Builder
private final Ingredient
private final RecipeCategory
private final Ingredient
private final RecipeSerializer<?>
-
Constructor Summary
ConstructorDescriptionSmithingTrimRecipeBuilder
(RecipeSerializer<?> p_267085_, RecipeCategory p_267007_, Ingredient p_266712_, Ingredient p_267018_, Ingredient p_267264_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
ensureValid
(ResourceLocation p_267040_) void
save
(Consumer<FinishedRecipe> p_266673_, String p_266800_) void
save
(Consumer<FinishedRecipe> p_267231_, ResourceLocation p_266718_) static SmithingTrimRecipeBuilder
smithingTrim
(Ingredient p_266812_, Ingredient p_266843_, Ingredient p_267309_, RecipeCategory p_267269_) unlocks
(String p_266882_, CriterionTriggerInstance p_267233_)
-
Field Details
-
category
-
template
-
base
-
addition
-
advancement
-
type
-
-
Constructor Details
-
SmithingTrimRecipeBuilder
public SmithingTrimRecipeBuilder(RecipeSerializer<?> p_267085_, RecipeCategory p_267007_, Ingredient p_266712_, Ingredient p_267018_, Ingredient p_267264_)
-
-
Method Details
-
smithingTrim
public static SmithingTrimRecipeBuilder smithingTrim(Ingredient p_266812_, Ingredient p_266843_, Ingredient p_267309_, RecipeCategory p_267269_) -
unlocks
-
save
-
save
-
ensureValid
-