Package net.minecraft.data.recipes
Class ShapedRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.ShapedRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeCategoryprivate final intprivate Stringprivate final Map<Character, Ingredient> private final Itemprivate final ItemStackprivate booleanFields inherited from interface net.minecraft.data.recipes.RecipeBuilder
ROOT_RECIPE_ADVANCEMENT -
Constructor Summary
ConstructorsConstructorDescriptionShapedRecipeBuilder(RecipeCategory p_249996_, ItemStack result) ShapedRecipeBuilder(RecipeCategory p_249996_, ItemLike p_251475_, int p_248948_) -
Method Summary
Modifier 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.data.recipes.RecipeBuilder
save, save
-
Field Details
-
category
-
result
-
count
private final int count -
resultStack
-
rows
-
key
-
criteria
-
group
-
showNotification
private boolean showNotification
-
-
Constructor Details
-
ShapedRecipeBuilder
-
ShapedRecipeBuilder
-
-
Method Details
-
shaped
-
shaped
public static ShapedRecipeBuilder shaped(RecipeCategory p_251325_, ItemLike p_250636_, int p_249081_) -
shaped
-
define
-
define
-
define
-
pattern
-
unlockedBy
- Specified by:
unlockedByin interfaceRecipeBuilder
-
group
- Specified by:
groupin interfaceRecipeBuilder
-
showNotification
-
getResult
- Specified by:
getResultin interfaceRecipeBuilder
-
save
- Specified by:
savein interfaceRecipeBuilder
-
ensureValid
-