Java Edition protocol/Recipes
This page presents the structures of the Recipe Display and Slot Display types, used when new crafting recipes are being sent to the client.
Recipe Display structure
| Name | Type | Description |
|---|---|---|
| Recipe Display Type | VarInt | ID in the minecraft:recipe_display registry.
|
| Data | Varies | See #Recipe Display types below. |
Recipe Display types
| ID | Name | Data |
|---|---|---|
| 0 | minecraft:crafting_shapeless
|
data |
| 1 | minecraft:crafting_shaped
|
data |
| 2 | minecraft:furnace
|
data |
| 3 | minecraft:stonecutter
|
data |
| 4 | minecraft:smithing
|
data |
minecraft:crafting_shapeless
| Name | Type | Description |
|---|---|---|
| Ingredient Count | VarInt | Number of elements in the following array. |
| Ingredients | Array of Slot Display | |
| Result | Slot Display | |
| Crafting Station | Slot Display | Crafting station icon to display in the recipe notification. |
minecraft:crafting_shaped
| Name | Type | Description |
|---|---|---|
| Width | VarInt | |
| Height | VarInt | |
| Ingredient Count | VarInt | Number of elements in the following array. Always equal to Width * Height. |
| Ingredients | Array of Slot Display | |
| Result | Slot Display | |
| Crafting Station | Slot Display | Crafting station icon to display in the recipe notification. |
minecraft:furnace
| Name | Type | Description |
|---|---|---|
| Ingredient | Slot Display | |
| Fuel | Slot Display | |
| Result | Slot Display | |
| Crafting Station | Slot Display | Crafting station icon to display in the recipe notification. |
| Cooking Time | VarInt | Time to smelt in a regular furnace, in ticks. |
| Experience | Float |
minecraft:stonecutter
| Name | Type | Description |
|---|---|---|
| Ingredient | Slot Display | |
| Result | Slot Display | |
| Crafting Station | Slot Display | Crafting station icon to display in the recipe notification. |
minecraft:smithing
| Name | Type | Description |
|---|---|---|
| Template | Slot Display | |
| Base | Slot Display | |
| Addition | Slot Display | |
| Result | Slot Display | |
| Crafting Station | Slot Display | Crafting station icon to display in the recipe notification. |
Slot Display structure
| Name | Type | Description |
|---|---|---|
| Slot Display Type | VarInt | ID in the minecraft:slot_display registry.
|
| Data | Varies | See #Slot Display types below. |
Slot Display types
| ID | Name | Data |
|---|---|---|
| 0 | minecraft:empty
|
no data |
| 1 | minecraft:any_fuel
|
no data |
| 2 | minecraft:item
|
data |
| 3 | minecraft:item_stack
|
data |
| 4 | minecraft:tag
|
data |
| 5 | minecraft:smithing_trim
|
data |
| 6 | minecraft:with_remainder
|
data |
| 7 | minecraft:composite
|
data |
minecraft:item
| Name | Type | Description |
|---|---|---|
| Item Type | VarInt | ID in the minecraft:item registry.
|
minecraft:item_stack
| Name | Type | Description |
|---|---|---|
| Item Stack | Slot |
minecraft:tag
| Name | Type | Description |
|---|---|---|
| Tag | Identifier | Tag in the minecraft:item registry. Not prefixed by '#'!.
|
minecraft:smithing_trim
| Name | Type | Description |
|---|---|---|
| Base | Slot Display | |
| Material | Slot Display | |
| Pattern | VarInt | ID in the trim_pattern registry.
|
minecraft:with_remainder
| Name | Type | Description |
|---|---|---|
| Ingredient | Slot Display | |
| Remainder | Slot Display |
minecraft:composite
| Name | Type | Description |
|---|---|---|
| Option Count | VarInt | Number of elements in the following array. |
| Options | Array of Slot Display |
This article is licensed under a Creative Commons Attribution-ShareAlike 3.0 license.
This article has been imported from wiki.vg or is a derivative of such a page. Thus, the wiki's usual license does not apply.
Derivative works must be licensed using the same or a compatible license.
Derivative works must be licensed using the same or a compatible license.