Package net.minecraft.data.recipes
Class SmithingTransformRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.SmithingTransformRecipeBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Ingredient
private final Advancement.Builder
private final Ingredient
private final RecipeCategory
private final Item
private final Ingredient
private final RecipeSerializer<?>
-
Constructor Summary
ConstructorDescriptionSmithingTransformRecipeBuilder
(RecipeSerializer<?> p_266683_, Ingredient p_266973_, Ingredient p_267047_, Ingredient p_267009_, RecipeCategory p_266694_, Item p_267183_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
ensureValid
(ResourceLocation p_267259_) void
save
(Consumer<FinishedRecipe> p_267068_, String p_267035_) void
save
(Consumer<FinishedRecipe> p_267089_, ResourceLocation p_267287_) smithing
(Ingredient p_267071_, Ingredient p_266959_, Ingredient p_266803_, RecipeCategory p_266757_, Item p_267256_) unlocks
(String p_266919_, CriterionTriggerInstance p_267277_)
-
Field Details
-
template
-
base
-
addition
-
category
-
result
-
advancement
-
type
-
-
Constructor Details
-
SmithingTransformRecipeBuilder
public SmithingTransformRecipeBuilder(RecipeSerializer<?> p_266683_, Ingredient p_266973_, Ingredient p_267047_, Ingredient p_267009_, RecipeCategory p_266694_, Item p_267183_)
-
-
Method Details
-
smithing
public static SmithingTransformRecipeBuilder smithing(Ingredient p_267071_, Ingredient p_266959_, Ingredient p_266803_, RecipeCategory p_266757_, Item p_267256_) -
unlocks
-
save
-
save
-
ensureValid
-