ShapedRecipePayload
0Recipe Idstring · variable
1Widthvarint32 · variable (up to 5 bytes)
2Heightvarint32 · variable (up to 5 bytes)
3Ingredientsarray<RecipeIngredient> · variable
4Resultsarray<NetworkItemInstanceDescriptorData> · variable
5UUIDmce::UUID · variable
6Tagstring · variable
7Priorityvarint32 · variable (up to 5 bytes)
8Assume Symmetryboolean · 1 byte
9Unlocking RequirementRecipeUnlockingRequirement · variable
10Net IdRecipeNetId · variable
Fields
11 top-level fields- 0Recipe IdUnique string identifier of the recipe.
string - 1WidthWidth of the crafting grid for this shaped recipe.Compression
varint32 - 2HeightHeight of the crafting grid for this shaped recipe.Compression
varint32 3IngredientsGrid ingredients in row-major order; the count must equal Width * Height.RecipeIngredientas
array<RecipeIngredient>0Item Descriptor
oneOf<EmptyItemDescriptor, ItemNameDescriptor, MolangItemDescriptor, ItemTagDescriptor>0EmptyItemDescriptor
EmptyItemDescriptor0Descriptor TypeEmpty item descriptor.Enum-as-ValueItemDescriptorTypeas
uint8- 0
Empty - 1
ItemName - 2
Molang - 3
ItemTag
- 0
1ItemNameDescriptor
ItemNameDescriptor0Descriptor TypeEnum-as-ValueItemDescriptorTypeas
uint8- 0
Empty - 1
ItemName - 2
Molang - 3
ItemTag
- 0
- 1Full Name
string - 2Aux ValueCompression
varint32
2MolangItemDescriptor
MolangItemDescriptor0Descriptor TypeEnum-as-ValueItemDescriptorTypeas
uint8- 0
Empty - 1
ItemName - 2
Molang - 3
ItemTag
- 0
- 1Tag Expression
string 2Molang VersionEnum-as-ValueMolangVersionas
int16- 0
Invalid - 1
BeforeVersioning - 2
Initial - 3
FixedItemRemainingUseDurationQuery - 4
ExpressionErrorMessages - 5
UnexpectedOperatorErrors - 6
ConditionalOperatorAssociativity - 7
ComparisonAndLogicalOperatorPrecedence - 8
DivideByNegativeValue - 9
FixedCapeFlapAmountQuery - 10
QueryBlockPropertyRenamedToState - 11
DeprecateOldBlockQueryNames - 12
DeprecatedSnifferAndCamelQueries - 13
LeafSupportingInFirstSolidBlockBelow - 14
NumValidVersions - 15
Latest - 16
HardcodedMolang
- 0
3ItemTagDescriptor
ItemTagDescriptor0Descriptor TypeEnum-as-ValueItemDescriptorTypeas
uint8- 0
Empty - 1
ItemName - 2
Molang - 3
ItemTag
- 0
- 1Item Tag
string
- 1StackSize
uint16
4ResultsThe item(s) produced by the recipe.NetworkItemInstanceDescriptorDataas
array<NetworkItemInstanceDescriptorData>- 0IdItem id (network varint). Send fixed Id of 0 for invalid item.Compression
varint32 - 1Stack sizeThe number of items in the stack.
uint16 - 2Aux valueItem auxiliary/metadata value. Ignored for block items where aux is always 0.Compression
varuint32 - 3Block Runtime IdRuntime block state ID associated with this item when it represents a block.Compression
varint32 - 4User Data BufferThe item user data binary blob encoded as a String.
string
- 6TagCrafting block tag this recipe is associated with (e.g. crafting_table).
string - 7PriorityRecipe priority used to resolve conflicts between matching recipes.Compression
varint32 - 8Assume SymmetryWhether the recipe also matches mirrored grid layouts.
boolean 9Unlocking RequirementoptionalOptional requirement that must be satisfied to unlock the recipe.RecipeUnlockingRequirement
0Unlocking ContextCompressionEnum-as-ValueRecipeUnlockingContextas
varint32- 0
None - 1
AlwaysUnlocked - 2
PlayerInWater - 3
PlayerHasManyItems
- 0
1Unlocking IngredientsoptionalOptional list of ingredients required to unlock the recipe. Only populated when Unlocking Context is None; otherwise the recipe is unlocked by the context condition and no ingredients are transmitted.RecipeIngredientas
array<RecipeIngredient>0Item Descriptor
oneOf<EmptyItemDescriptor, ItemNameDescriptor, MolangItemDescriptor, ItemTagDescriptor>0EmptyItemDescriptor
EmptyItemDescriptor0Descriptor TypeEmpty item descriptor.Enum-as-ValueItemDescriptorTypeas
uint8- 0
Empty - 1
ItemName - 2
Molang - 3
ItemTag
- 0
1ItemNameDescriptor
ItemNameDescriptor0Descriptor TypeEnum-as-ValueItemDescriptorTypeas
uint8- 0
Empty - 1
ItemName - 2
Molang - 3
ItemTag
- 0
- 1Full Name
string - 2Aux ValueCompression
varint32
2MolangItemDescriptor
MolangItemDescriptor0Descriptor TypeEnum-as-ValueItemDescriptorTypeas
uint8- 0
Empty - 1
ItemName - 2
Molang - 3
ItemTag
- 0
- 1Tag Expression
string 2Molang VersionEnum-as-ValueMolangVersionas
int16- 0
Invalid - 1
BeforeVersioning - 2
Initial - 3
FixedItemRemainingUseDurationQuery - 4
ExpressionErrorMessages - 5
UnexpectedOperatorErrors - 6
ConditionalOperatorAssociativity - 7
ComparisonAndLogicalOperatorPrecedence - 8
DivideByNegativeValue - 9
FixedCapeFlapAmountQuery - 10
QueryBlockPropertyRenamedToState - 11
DeprecateOldBlockQueryNames - 12
DeprecatedSnifferAndCamelQueries - 13
LeafSupportingInFirstSolidBlockBelow - 14
NumValidVersions - 15
Latest - 16
HardcodedMolang
- 0
3ItemTagDescriptor
ItemTagDescriptor0Descriptor TypeEnum-as-ValueItemDescriptorTypeas
uint8- 0
Empty - 1
ItemName - 2
Molang - 3
ItemTag
- 0
- 1Item Tag
string
- 1StackSize
uint16
10Net IdNetwork id assigned to this recipe.RecipeNetId
- 0Raw IdCompression
varuint32
Packet references
2 references- CraftingDataPacketShaped Chemistry Recipes › ShapedRecipePayload
- CraftingDataPacketShaped Recipes › ShapedRecipePayload
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this type.
All builds
Changes between consecutive stable releases and preview builds.
No changes are recorded for this type.