类 SmithingTransformRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.SmithingTransformRecipeBuilder
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final Ingredient
private final Advancement.Builder
private final Ingredient
private final RecipeCategory
private final Item
private final Ingredient
private final RecipeSerializer<?>
-
构造器概要
构造器构造器说明SmithingTransformRecipeBuilder
(RecipeSerializer<?> pType, Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult) -
方法概要
修饰符和类型方法说明private void
ensureValid
(ResourceLocation pLocation) void
save
(Consumer<FinishedRecipe> pRecipeConsumer, String pLocation) void
save
(Consumer<FinishedRecipe> pRecipeConsumer, ResourceLocation pLocation) smithing
(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult) unlocks
(String pKey, CriterionTriggerInstance pCriterion)
-
字段详细资料
-
template
-
base
-
addition
-
category
-
result
-
advancement
-
type
-
-
构造器详细资料
-
SmithingTransformRecipeBuilder
public SmithingTransformRecipeBuilder(RecipeSerializer<?> pType, Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult)
-
-
方法详细资料
-
smithing
public static SmithingTransformRecipeBuilder smithing(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult) -
unlocks
-
save
-
save
-
ensureValid
-