Package net.minecraft.data
Class CookingRecipeBuilder
java.lang.Object
net.minecraft.data.CookingRecipeBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement.Builder
private final int
private final float
private String
private final Ingredient
private final Item
private final CookingRecipeSerializer<?>
-
Constructor Summary
ModifierConstructorDescriptionprivate
CookingRecipeBuilder
(IItemProvider p_i50788_1_, Ingredient p_i50788_2_, float p_i50788_3_, int p_i50788_4_, CookingRecipeSerializer<?> p_i50788_5_) -
Method Summary
Modifier and TypeMethodDescriptionstatic CookingRecipeBuilder
blasting
(Ingredient p_218633_0_, IItemProvider p_218633_1_, float p_218633_2_, int p_218633_3_) static CookingRecipeBuilder
cooking
(Ingredient p_218631_0_, IItemProvider p_218631_1_, float p_218631_2_, int p_218631_3_, CookingRecipeSerializer<?> p_218631_4_) private void
ensureValid
(ResourceLocation p_218634_1_) void
save
(Consumer<IFinishedRecipe> p_218630_1_) void
save
(Consumer<IFinishedRecipe> p_218632_1_, String p_218632_2_) void
save
(Consumer<IFinishedRecipe> p_218635_1_, ResourceLocation p_218635_2_) static CookingRecipeBuilder
smelting
(Ingredient p_218629_0_, IItemProvider p_218629_1_, float p_218629_2_, int p_218629_3_) unlockedBy
(String p_218628_1_, ICriterionInstance p_218628_2_)
-
Field Details
-
result
-
ingredient
-
experience
private final float experience -
cookingTime
private final int cookingTime -
advancement
-
group
-
serializer
-
-
Constructor Details
-
CookingRecipeBuilder
private CookingRecipeBuilder(IItemProvider p_i50788_1_, Ingredient p_i50788_2_, float p_i50788_3_, int p_i50788_4_, CookingRecipeSerializer<?> p_i50788_5_)
-
-
Method Details
-
cooking
public static CookingRecipeBuilder cooking(Ingredient p_218631_0_, IItemProvider p_218631_1_, float p_218631_2_, int p_218631_3_, CookingRecipeSerializer<?> p_218631_4_) -
blasting
public static CookingRecipeBuilder blasting(Ingredient p_218633_0_, IItemProvider p_218633_1_, float p_218633_2_, int p_218633_3_) -
smelting
public static CookingRecipeBuilder smelting(Ingredient p_218629_0_, IItemProvider p_218629_1_, float p_218629_2_, int p_218629_3_) -
unlockedBy
-
save
-
save
-
save
-
ensureValid
-