Package net.minecraft.data.recipes
Class ShapedRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.ShapedRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Advancement.Builderprivate intprivate Stringprivate Map<Character,Ingredient>private Item -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefine(Character p_126125_, Ingredient p_126126_)private voidensureValid(ResourceLocation p_126144_)voidsave(Consumer<FinishedRecipe> p_126141_, ResourceLocation p_126142_)static ShapedRecipeBuilderstatic ShapedRecipeBuilderunlockedBy(String p_126133_, CriterionTriggerInstance p_126134_)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
-
count
private final int count -
rows
-
key
-
advancement
-
group
-
-
Constructor Details
-
ShapedRecipeBuilder
-
-
Method Details
-
shaped
-
shaped
-
define
-
define
-
define
-
pattern
-
unlockedBy
- Specified by:
unlockedByin interfaceRecipeBuilder
-
group
- Specified by:
groupin interfaceRecipeBuilder
-
getResult
- Specified by:
getResultin interfaceRecipeBuilder
-
save
- Specified by:
savein interfaceRecipeBuilder
-
ensureValid
-