Package net.minecraft.data.recipes
Class SmithingTransformRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.SmithingTransformRecipeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Ingredient
private final Ingredient
private final RecipeCategory
private final Item
private final Ingredient
-
Constructor Summary
ConstructorsConstructorDescriptionSmithingTransformRecipeBuilder
(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
ensureValid
(ResourceKey<Recipe<?>> pRecipe) void
save
(RecipeOutput pRecipeOutput, String pRecipeId) void
save
(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) smithing
(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult)
-
Field Details
-
template
-
base
-
addition
-
category
-
result
-
criteria
-
-
Constructor Details
-
SmithingTransformRecipeBuilder
public SmithingTransformRecipeBuilder(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult)
-
-
Method Details
-
smithing
public static SmithingTransformRecipeBuilder smithing(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult) -
unlocks
-
save
-
save
-
ensureValid
-