Package net.minecraft.data.recipes
Class ShapedRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.ShapedRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement.Builder
private final int
private String
private final Map<Character,
Ingredient> private final Item
Fields inherited from interface net.minecraft.data.recipes.RecipeBuilder
ROOT_RECIPE_ADVANCEMENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefine
(Character p_126125_, Ingredient p_126126_) private void
ensureValid
(ResourceLocation p_126144_) void
save
(Consumer<FinishedRecipe> p_126141_, ResourceLocation p_126142_) static ShapedRecipeBuilder
static ShapedRecipeBuilder
unlockedBy
(String p_126133_, CriterionTriggerInstance p_126134_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
unlockedBy
in interfaceRecipeBuilder
-
group
- Specified by:
group
in interfaceRecipeBuilder
-
getResult
- Specified by:
getResult
in interfaceRecipeBuilder
-
save
- Specified by:
save
in interfaceRecipeBuilder
-
ensureValid
-