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 Advancement.Builder
private int
private String
private Map<Character,Ingredient>
private Item
-
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
-