Package net.minecraft.data.recipes
Class ShapelessRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.ShapelessRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Advancement.Builder
private int
private String
private List<Ingredient>
private Item
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
ensureValid(ResourceLocation p_126208_)
requires(Ingredient p_126185_)
requires(Ingredient p_126187_, int p_126188_)
void
save(Consumer<FinishedRecipe> p_126205_, ResourceLocation p_126206_)
static ShapelessRecipeBuilder
static ShapelessRecipeBuilder
unlockedBy(String p_126197_, CriterionTriggerInstance p_126198_)
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 -
ingredients
-
advancement
-
group
-
-
Constructor Details
-
ShapelessRecipeBuilder
-
-
Method Details
-
shapeless
-
shapeless
-
requires
-
requires
-
requires
-
requires
-
requires
-
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
-