Package net.minecraft.data.recipes
Class ShapedRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.ShapedRecipeBuilder
- All Implemented Interfaces:
- RecipeBuilder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final RecipeCategoryprivate final intprivate Stringprivate final Map<Character,Ingredient> private final Itemprivate final ItemStackprivate booleanFields inherited from interface net.minecraft.data.recipes.RecipeBuilderROOT_RECIPE_ADVANCEMENT
- 
Constructor SummaryConstructorsConstructorDescriptionShapedRecipeBuilder(RecipeCategory p_249996_, ItemStack result) ShapedRecipeBuilder(RecipeCategory p_249996_, ItemLike p_251475_, int p_248948_) 
- 
Method SummaryModifier and TypeMethodDescriptiondefine(Character p_126125_, Ingredient p_126126_) private ShapedRecipePatternensureValid(ResourceLocation p_126144_) voidsave(RecipeOutput p_301098_, ResourceLocation p_126142_) static ShapedRecipeBuildershaped(RecipeCategory p_251325_, ItemStack result) static ShapedRecipeBuildershaped(RecipeCategory p_250853_, ItemLike p_249747_) static ShapedRecipeBuildershaped(RecipeCategory p_251325_, ItemLike p_250636_, int p_249081_) showNotification(boolean p_273326_) unlockedBy(String p_126133_, Criterion<?> p_301126_) 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
- 
countprivate final int count
- 
resultStack
- 
rows
- 
key
- 
criteria
- 
group
- 
showNotificationprivate boolean showNotification
 
- 
- 
Constructor Details- 
ShapedRecipeBuilder
- 
ShapedRecipeBuilder
 
- 
- 
Method Details- 
shaped
- 
shapedpublic static ShapedRecipeBuilder shaped(RecipeCategory p_251325_, ItemLike p_250636_, int p_249081_) 
- 
shaped
- 
define
- 
define
- 
define
- 
pattern
- 
unlockedBy- Specified by:
- unlockedByin interface- RecipeBuilder
 
- 
group- Specified by:
- groupin interface- RecipeBuilder
 
- 
showNotification
- 
getResult- Specified by:
- getResultin interface- RecipeBuilder
 
- 
save- Specified by:
- savein interface- RecipeBuilder
 
- 
ensureValid
 
-