Package net.minecraft.data.recipes
Class SimpleCookingRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.SimpleCookingRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
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 SimpleCookingSerializer<?>
-
Constructor Summary
ModifierConstructorDescriptionprivate
SimpleCookingRecipeBuilder
(ItemLike p_126243_, Ingredient p_126244_, float p_126245_, int p_126246_, SimpleCookingSerializer<?> p_126247_) -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleCookingRecipeBuilder
blasting
(Ingredient p_126268_, ItemLike p_126269_, float p_126270_, int p_126271_) static SimpleCookingRecipeBuilder
campfireCooking
(Ingredient p_176785_, ItemLike p_176786_, float p_176787_, int p_176788_) static SimpleCookingRecipeBuilder
cooking
(Ingredient p_126249_, ItemLike p_126250_, float p_126251_, int p_126252_, SimpleCookingSerializer<?> p_126253_) private void
ensureValid
(ResourceLocation p_126266_) void
save
(Consumer<FinishedRecipe> p_126263_, ResourceLocation p_126264_) static SimpleCookingRecipeBuilder
smelting
(Ingredient p_126273_, ItemLike p_126274_, float p_126275_, int p_126276_) static SimpleCookingRecipeBuilder
smoking
(Ingredient p_176797_, ItemLike p_176798_, float p_176799_, int p_176800_) unlockedBy
(String p_126255_, CriterionTriggerInstance p_126256_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.data.recipes.RecipeBuilder
save, save
-
Field Details
-
result
-
ingredient
-
experience
private final float experience -
cookingTime
private final int cookingTime -
advancement
-
group
-
serializer
-
-
Constructor Details
-
SimpleCookingRecipeBuilder
private SimpleCookingRecipeBuilder(ItemLike p_126243_, Ingredient p_126244_, float p_126245_, int p_126246_, SimpleCookingSerializer<?> p_126247_)
-
-
Method Details
-
cooking
public static SimpleCookingRecipeBuilder cooking(Ingredient p_126249_, ItemLike p_126250_, float p_126251_, int p_126252_, SimpleCookingSerializer<?> p_126253_) -
campfireCooking
public static SimpleCookingRecipeBuilder campfireCooking(Ingredient p_176785_, ItemLike p_176786_, float p_176787_, int p_176788_) -
blasting
public static SimpleCookingRecipeBuilder blasting(Ingredient p_126268_, ItemLike p_126269_, float p_126270_, int p_126271_) -
smelting
public static SimpleCookingRecipeBuilder smelting(Ingredient p_126273_, ItemLike p_126274_, float p_126275_, int p_126276_) -
smoking
public static SimpleCookingRecipeBuilder smoking(Ingredient p_176797_, ItemLike p_176798_, float p_176799_, int p_176800_) -
unlockedBy
- Specified by:
unlockedBy
in interfaceRecipeBuilder
-
group
- Specified by:
group
in interfaceRecipeBuilder
-
getResult
- Specified by:
getResult
in interfaceRecipeBuilder
-
save
- Specified by:
save
in interfaceRecipeBuilder
-
ensureValid
-