Minecraft:Java Edition protocol/Recipes
From SAS Gaming Wiki
More actions
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 | Template:Type | 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 | Template:Type | Number of elements in the following array. |
| Ingredients | Template:Type of Template:Type | |
| Result | Template:Type | |
| Crafting Station | Template:Type | Crafting station icon to display in the recipe notification. |
minecraft:crafting_shaped
| Name | Type | Description |
|---|---|---|
| Width | Template:Type | |
| Height | Template:Type | |
| Ingredient Count | Template:Type | Number of elements in the following array. Always equal to Width * Height. |
| Ingredients | Template:Type of Template:Type | |
| Result | Template:Type | |
| Crafting Station | Template:Type | Crafting station icon to display in the recipe notification. |
minecraft:furnace
| Name | Type | Description |
|---|---|---|
| Ingredient | Template:Type | |
| Fuel | Template:Type | |
| Result | Template:Type | |
| Crafting Station | Template:Type | Crafting station icon to display in the recipe notification. |
| Cooking Time | Template:Type | Time to smelt in a regular furnace, in ticks. |
| Experience | Template:Type |
minecraft:stonecutter
| Name | Type | Description |
|---|---|---|
| Ingredient | Template:Type | |
| Result | Template:Type | |
| Crafting Station | Template:Type | Crafting station icon to display in the recipe notification. |
minecraft:smithing
| Name | Type | Description |
|---|---|---|
| Template | Template:Type | |
| Base | Template:Type | |
| Addition | Template:Type | |
| Result | Template:Type | |
| Crafting Station | Template:Type | Crafting station icon to display in the recipe notification. |
Slot Display structure
| Name | Type | Description |
|---|---|---|
| Slot Display Type | Template:Type | 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 | Template:Type |
minecraft:only_with_component
| Name | Type | Description |
|---|---|---|
| Base | Template:Type | |
| Component Type ID | Template:Type |
minecraft:item
| Name | Type | Description |
|---|---|---|
| Item Type | Template:Type | ID in the minecraft:item registry.
|
minecraft:item_stack
| Name | Type | Description |
|---|---|---|
| Item Stack | Template:Type |
minecraft:tag
| Name | Type | Description |
|---|---|---|
| Tag | Template:Type | Tag in the minecraft:item registry. Not prefixed by '#'!.
|
minecraft:dyed
| Name | Type | Description |
|---|---|---|
| Dye | Template:Type | |
| Target | Template:Type |
minecraft:smithing_trim
| Name | Type | Description |
|---|---|---|
| Base | Template:Type | |
| Material | Template:Type | |
| Pattern | Template:Type | ID in the trim_pattern registry.
|
minecraft:with_remainder
| Name | Type | Description |
|---|---|---|
| Ingredient | Template:Type | |
| Remainder | Template:Type |
minecraft:composite
| Name | Type | Description |
|---|---|---|
| Option Count | Template:Type | Number of elements in the following array. |
| Options | Template:Type of Template:Type |