ShapelessRecipePayload
0Recipe Idstring · variable
1Ingredientsarray<RecipeIngredient> · variable
2Resultsarray<NetworkItemInstanceDescriptorData> · variable
3UUIDmce::UUID · variable
4Tagstring · variable
5Priorityvarint32 · variable (up to 5 bytes)
6Unlocking RequirementRecipeUnlockingRequirement · variable
7Net IdRecipeNetId · variable
Fields
8 top-level fields- 0Recipe IdUnique string identifier of the recipe.
string 1IngredientsThe unordered ingredients required by the recipe.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
2ResultsThe 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
- 4TagCrafting block tag this recipe is associated with (e.g. crafting_table).
string - 5PriorityRecipe priority used to resolve conflicts between matching recipes.Compression
varint32 6Unlocking 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
7Net IdNetwork id assigned to this recipe.RecipeNetId
- 0Raw IdCompression
varuint32
Packet references
3 references- CraftingDataPacketShapeless Chemistry Recipes › ShapelessRecipePayload
- CraftingDataPacketShapeless Recipes › ShapelessRecipePayload
- CraftingDataPacketUser Data Shapeless Recipes › ShapelessRecipePayload
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.