Skip to main content

Module recipe

Module recipe 

Source
Expand description

Typed, plugin-extensible recipe registries and vanilla recipe data.

Modulesยง

crafting ๐Ÿ”’
Passive data and immutable input snapshots for crafting recipes.
ingredient ๐Ÿ”’
Ingredient matching for recipes.
properties ๐Ÿ”’
Passive recipe metadata and recipe-book categories.
registry ๐Ÿ”’
Heterogeneous recipe storage with typed per-type views.
single_item ๐Ÿ”’
Passive single-item recipe data and input snapshots.
smithing ๐Ÿ”’
Passive smithing recipe data and input snapshots.
types ๐Ÿ”’
Typed recipe discriminators and recipe entries.
vanilla_recipe_book_categories
Vanilla protocol recipe-book categories.
vanilla_recipe_types
Vanilla operational recipe types.

Structsยง

BannerDuplicateRecipe
BookCloningRecipe
CachedRecipeCheck
Caches the last successful recipe for one operational recipe type.
CookingRecipe
Data shared by smelting, blasting, smoking, and campfire cooking.
CraftingInput
Positioned, immutable crafting-grid snapshot.
DecoratedPotRecipe
DyeRecipe
FireworkRocketRecipe
FireworkStarFadeRecipe
FireworkStarRecipe
ImbueRecipe
MapExtendingRecipe
MapRecipeData
Saved-map facts needed by the vanilla map-extending matcher.
PlacementInfo
Precomputed ingredient placement information.
PositionedCraftingInput
Positioned input plus its offset in the original crafting grid.
Recipe
A keyed recipe with concrete passive data and input types.
RecipeBookCategory
A registered protocol recipe-book category.
RecipeBookCategoryRegistry
Registry for protocol-visible recipe-book categories.
RecipeBookProperties
Recipe-book metadata which is not part of matching or processing.
RecipeProperties
Optional metadata common to recipe data implementations.
RecipeRegistry
Central storage for recipes of every registered concrete type.
RecipeType
Typed handle for an operational recipe type.
RecipeTypeEntry
Type-erased registered recipe discriminator.
RecipeTypeRegistry
Registry for operational recipe types.
RepairItemRecipe
ShapedRecipe
A shaped recipe pattern.
ShapelessRecipe
A shapeless collection of ingredients.
ShieldDecorationRecipe
SingleItemRecipeInput
Input shared by cooking and stonecutting recipe types.
SmithingRecipeInput
SmithingTransformRecipe
SmithingTrimRecipe
StonecuttingRecipe
Stonecutter recipe data.
TransmuteRecipe
TypedRecipeRef
Recipe reference with its concrete data and input types restored.
TypedRecipeSet
Typed recipes belonging to one operational recipe type.
UntypedRecipeRef
Type-erased recipe reference returned by all-recipe and key lookup APIs.

Enumsยง

CookingBookCategory
Recipe-book grouping used by cooking recipes.
CraftingBookCategory
Recipe-book grouping used by crafting recipes.
CraftingRecipe
Every vanilla serializer whose operational type is minecraft:crafting.
Ingredient
Represents what items can satisfy a recipe slot. Matches Javaโ€™s Ingredient class.
RecipeBookCategoryKind
Logical recipe-book category stored by recipe data.
SmithingRecipe
Every vanilla serializer whose operational type is minecraft:smithing.

Traitsยง

RecipeData
Passive data stored by a recipe.
RecipeInput
Immutable input snapshot used while matching a recipe type.
RecipeMatches
Matching behavior implemented by one recipe data type for its input snapshot.

Type Aliasesยง

RecipeBookCategoryRef
RecipeTypeEntryRef