Java Edition protocol/Recipes
Minecraft Wiki article. Categories: Protocol_Details, Java_Edition_protocol, CC_BY-SA_pages
📌 Mirrored from Minecraft Wiki
This article is reproduced from Java Edition protocol/Recipes on the Minecraft Wiki. Mirrored from revision 3661933. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
On this page
- Recipe Display structure
- Recipe Display types
- minecraft:crafting_shapeless
- minecraft:crafting_shaped
- minecraft:furnace
- minecraft:stonecutter
- minecraft:smithing
- Slot Display structure
- Slot Display types
- minecraft:with_any_potion
- minecraft:only_with_component
- minecraft:item
- minecraft:item_stack
- minecraft:tag
- minecraft:dyed
- minecraft:smithing_trim
- minecraft:with_remainder
- minecraft:composite
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
| Name | Data |
|---|---|
minecraft:crafting_shapeless
|
data |
minecraft:crafting_shaped
|
data |
minecraft:furnace
|
data |
minecraft:stonecutter
|
data |
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
| Name | Data |
|---|---|
minecraft:empty
|
no data |
minecraft:any_fuel
|
no data |
minecraft:with_any_potion
|
data |
minecraft:only_with_component
|
data |
minecraft:item
|
data |
minecraft:item_stack
|
data |
minecraft:tag
|
data |
minecraft:dyed
|
data |
minecraft:smithing_trim
|
data |
minecraft:with_remainder
|
data |
minecraft:composite
|
data |
minecraft:with_any_potion
| Name | Type | Description |
|---|---|---|
| Base | Slot Display |
minecraft:only_with_component
| Name | Type | Description |
|---|---|---|
| Base | Slot Display | |
| Component Type ID | VarInt |
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:dyed
| Name | Type | Description |
|---|---|---|
| Dye | Slot Display | |
| Target | Slot Display |
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.
Sources
- Java Edition protocol/Recipes — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3661933.