Package net.minecraft.data.recipes
Class SimpleCookingRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.SimpleCookingRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Advancement.Builderprivate final intprivate final floatprivate Stringprivate final Ingredientprivate final Itemprivate final SimpleCookingSerializer<?> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSimpleCookingRecipeBuilder(ItemLike p_126243_, Ingredient p_126244_, float p_126245_, int p_126246_, SimpleCookingSerializer<?> p_126247_) -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleCookingRecipeBuilderblasting(Ingredient p_126268_, ItemLike p_126269_, float p_126270_, int p_126271_) static SimpleCookingRecipeBuildercampfireCooking(Ingredient p_176785_, ItemLike p_176786_, float p_176787_, int p_176788_) static SimpleCookingRecipeBuildercooking(Ingredient p_126249_, ItemLike p_126250_, float p_126251_, int p_126252_, SimpleCookingSerializer<?> p_126253_) private voidensureValid(ResourceLocation p_126266_) voidsave(Consumer<FinishedRecipe> p_126263_, ResourceLocation p_126264_) static SimpleCookingRecipeBuildersmelting(Ingredient p_126273_, ItemLike p_126274_, float p_126275_, int p_126276_) static SimpleCookingRecipeBuildersmoking(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, waitMethods 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:
unlockedByin interfaceRecipeBuilder
-
group
- Specified by:
groupin interfaceRecipeBuilder
-
getResult
- Specified by:
getResultin interfaceRecipeBuilder
-
save
- Specified by:
savein interfaceRecipeBuilder
-
ensureValid
-