Package net.minecraft.data.recipes
Class SingleItemRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.SingleItemRecipeBuilder
- All Implemented Interfaces:
- RecipeBuilder
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final RecipeCategoryprivate IConditionprivate final intprivate Stringprivate final Ingredientprivate final Itemprivate final RecipeSerializer<?>Fields inherited from interface net.minecraft.data.recipes.RecipeBuilderROOT_RECIPE_ADVANCEMENT
- 
Constructor SummaryConstructorsConstructorDescriptionSingleItemRecipeBuilder(RecipeCategory p_251425_, RecipeSerializer<?> p_249762_, Ingredient p_251221_, ItemLike p_251302_, int p_250964_) 
- 
Method SummaryModifier and TypeMethodDescriptioncondition(ICondition condition) private voidensureValid(ResourceLocation p_126330_) voidsave(RecipeOutput p_298439_, ResourceLocation p_126328_) static SingleItemRecipeBuilderstonecutting(Ingredient p_248596_, RecipeCategory p_250503_, ItemLike p_250269_) static SingleItemRecipeBuilderstonecutting(Ingredient p_251375_, RecipeCategory p_248984_, ItemLike p_250105_, int p_249506_) unlockedBy(String p_176810_, Criterion<?> p_298188_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.data.recipes.RecipeBuildersave, save
- 
Field Details- 
category
- 
result
- 
ingredient
- 
countprivate final int count
- 
criteria
- 
group
- 
type
- 
condition
 
- 
- 
Constructor Details- 
SingleItemRecipeBuilderpublic SingleItemRecipeBuilder(RecipeCategory p_251425_, RecipeSerializer<?> p_249762_, Ingredient p_251221_, ItemLike p_251302_, int p_250964_) 
 
- 
- 
Method Details- 
stonecuttingpublic static SingleItemRecipeBuilder stonecutting(Ingredient p_248596_, RecipeCategory p_250503_, ItemLike p_250269_) 
- 
stonecuttingpublic static SingleItemRecipeBuilder stonecutting(Ingredient p_251375_, RecipeCategory p_248984_, ItemLike p_250105_, int p_249506_) 
- 
unlockedBy- Specified by:
- unlockedByin interface- RecipeBuilder
 
- 
group- Specified by:
- groupin interface- RecipeBuilder
 
- 
getResult- Specified by:
- getResultin interface- RecipeBuilder
 
- 
save- Specified by:
- savein interface- RecipeBuilder
 
- 
condition
- 
ensureValid
 
-