Interface ShapelessCraftingRecipe
- All Superinterfaces:
CraftingRecipe, DataPackSerializable, DefaultedRegistryValue<Recipe<?>>, Recipe<RecipeInput.Crafting>
A ShapelessCraftingRecipe is a CraftingRecipe that does not have shape and
just has a list of ingredients.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a newShapelessCraftingRecipe.Builderto build aShapelessCraftingRecipe.Gets the ingredients for this recipe.Methods inherited from interface CraftingRecipe
group, typeMethods inherited from interface DataPackSerializable
toDataPackMethods inherited from interface DefaultedRegistryValue
asDefaultedReference, findKey, keyMethods inherited from interface Recipe
exemplaryResult, isDynamic, isValid, remainingItems, result, result
-
Method Details
-
ingredients
List<Ingredient> ingredients()Gets the ingredients for this recipe.- Returns:
- An unmodifiable list of the ingredients.
-
builder
Creates a newShapelessCraftingRecipe.Builderto build aShapelessCraftingRecipe.- Returns:
- The new builder
-