Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(→‎Data types: Added Chunk Section)
(23w13a)
(33 intermediate revisions by 11 users not shown)
Line 1: Line 1:
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently [[Protocol version numbers|1.17.1, protocol 756]]) to the current pre-release (currently [[Protocol version numbers|21w44a, protocol {{Snapshot PVN|1073741872}}]]). Note that this page contains bleeding-edge information that may not be completely or correctly documented.
+
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently [[Protocol version numbers|1.19.4, protocol 762]]) to the current pre-release (currently [[Protocol version numbers|23w13a, protocol {{Snapshot PVN|1073741952}}]]). Note that this page contains bleeding-edge information that may not be completely or correctly documented.
  
 
One who wishes to commandeer the merging of this into [[Protocol]] when an update is made must be sure to respect any changes that may have occurred to the respective packets there.
 
One who wishes to commandeer the merging of this into [[Protocol]] when an update is made must be sure to respect any changes that may have occurred to the respective packets there.
Line 9: Line 9:
 
=== Data types ===
 
=== Data types ===
  
* [[#Chunk Section|Chunk Section]]
+
No changes so far.
  
 
=== Packets ===
 
=== Packets ===
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 20: Line 19:
 
  |-
 
  |-
 
!colspan="4"| Play clientbound
 
!colspan="4"| Play clientbound
{{PacketList|0x0A|Block Entity Data}}
+
{{PacketList|0x31|Open Sign Editor}}
{{PacketList|0x22|Chunk Data and Update Light}}
+
{{PacketList|0x6B|Feature Flags}}
{{PacketList|0x26|Join Game}}
+
{{PacketList|0x6D|Update Recipes}}
{{PacketList|0x57|Update Simulation Distance|rel=added}}
+
|-
{{PacketList|{{change|0x57|0x58}}|Set Title SubTitle|pre=unchanged}}
+
!colspan="4"| Play serverbound
{{PacketList|{{change|0x58|0x59}}|Time Update|pre=unchanged}}
+
{{PacketList|0x2E|Update Sign}}
{{PacketList|{{change|0x59|0x5A}}|Set Title Text|pre=unchanged}}
+
|}
{{PacketList|{{change|0x5A|0x5B}}|Set Title Times|pre=unchanged}}
 
{{PacketList|{{change|0x5B|0x5C}}|Entity Sound Effect|pre=unchanged}}
 
{{PacketList|{{change|0x5C|0x5D}}|Sound Effect|pre=unchanged}}
 
{{PacketList|{{change|0x5D|0x5E}}|Stop Sound|pre=unchanged}}
 
{{PacketList|{{change|0x5E|0x5F}}|Player List Header And Footer|pre=unchanged}}
 
{{PacketList|{{change|0x5F|0x60}}|NBT Query Response|pre=unchanged}}
 
{{PacketList|{{change|0x60|0x61}}|Collect Item|pre=unchanged}}
 
{{PacketList|{{change|0x61|0x62}}|Entity Teleport|pre=unchanged}}
 
{{PacketList|{{change|0x62|0x63}}|Advancements|pre=unchanged}}
 
{{PacketList|{{change|0x63|0x64}}|Entity Properties|pre=unchanged}}
 
{{PacketList|{{change|0x64|0x65}}|Entity Effect|pre=unchanged}}
 
{{PacketList|{{change|0x65|0x66}}|Declare Recipes|pre=unchanged}}
 
{{PacketList|{{change|0x66|0x67}}|Tags|pre=unchanged}}
 
|}
 
  
 
== New/modified data types ==
 
== New/modified data types ==
  
=== Chunk Section ===
+
No changes so far.
 
 
The data section of the packet contains most of the useful data for the chunk.
 
 
 
{| class="wikitable"
 
|-
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
| Data
 
| Array of [[#Chunk Section structure|Chunk Section]]
 
| The number of elements in the array is {{change|equal to the number of bits set in Primary Bit Mask|calculated based on the world's height}}. Sections are sent bottom-to-top{{change|, i.e. the first section, if sent, extends from Y=0 to Y=15|}}.
 
|}
 
 
 
==== Chunk Section structure ====
 
 
 
A Chunk Section is defined in terms of other [[data types]]. A Chunk Section consists of the following fields:
 
 
 
{| class="wikitable"
 
|-
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
| Block count
 
| Short
 
| Number of non-air blocks present in the chunk section. "Non-air" is defined as any block other than air, cave air, and void air (in particular, note that fluids such as water are still counted). The client uses this to unload chunks empty chunks. It will keep count of the blocks as they are broken/placed and if this integer reaches 0 the whole chunk section is not rendered, even though there may still be blocks left, if the server sends an incorrect block count.
 
|- {{removed}}
 
| Bits Per Block
 
| Unsigned Byte
 
| Determines how many bits are used to encode a block. Note that not all numbers are valid here.
 
|- {{removed}}
 
| Palette
 
| Varies
 
| See below for the format.
 
|- {{removed}}
 
| Data Array Length
 
| VarInt
 
| Number of longs in the following array
 
|- {{removed}}
 
| Data Array
 
| Array of Long
 
| Compacted list of 4096 (16x16x16) indices pointing to state IDs in the Palette (see [[#Compacted data array|Compacted data array]])
 
|- {{added}}
 
| Block states
 
| [[#Paletted Container structure|Paletted Container]]
 
| Consists of 4096 entries, representing all the blocks in the chunk section
 
|- {{added}}
 
| Biomes
 
| [[#Paletted Container structure|Paletted Container]]
 
| Consists of 64 entries, representing 4x4x4 biome regions in the chunk section
 
|}
 
 
 
==== {{change||Paletted Container structure}} ====
 
 
 
{{change||A Paletted Container is a palette-based storage of entries. Paletted Containers have an associated global palette (either block states or biomes as of now), where values are mapped from. A Paletted Container consists of the following fields:}}
 
 
 
{| class="wikitable"
 
|- {{added}}
 
! Field Name
 
! Field Type
 
! Notes
 
|- {{added}}
 
| Bits Per Entry
 
| Unsigned Byte
 
| Determines how many bits are used to encode entries. Note that not all numbers are valid here.
 
|- {{added}}
 
| Palette
 
| Varies
 
| See below for the format.
 
|- {{added}}
 
| Data Array Length
 
| VarInt
 
| Number of longs in the following array
 
|- {{added}}
 
| Data Array
 
| Array of Long
 
| Compacted list of indices pointing to entry IDs in the Palette. When Bits Per Entry is 0, this array is empty (see [[#Single valued|Single valued palette]])
 
|}
 
 
 
{{change||Data Array is given for each entry with increasing x coordinates, within rows of increasing z coordinates, within layers of increasing y coordinates.}}
 
 
 
===== Palettes =====
 
 
 
The bits per {{change|block|entry}} value determines what format is used for the palette. In most cases, invalid values will be interpreted as a different value when parsed by the notchian client, meaning that chunk data will be parsed incorrectly if you use an invalid bits per {{change|block|entry}}. Servers must make sure that the bits per {{change|block|entry}} value is correct. {{change||There are currently three types of palettes:}}
 
 
 
====== {{change||Single valued}} ======
 
 
 
{{change||This format is used when bits per entry is equal to 0, and signifies that the palette contains a single value. When this palette is used, the Data Array sent/received is empty, since entries can be inferred from the palette's single value.}}
 
 
 
{{change||The format is as follows:}}
 
 
 
{| class="wikitable"
 
|- {{added}}
 
! Field Name
 
! Field Type
 
! Notes
 
|- {{added}}
 
| Value
 
| VarInt
 
| ID of the corresponding entry in its global palette
 
|}
 
 
 
====== Indirect ======
 
 
 
There are {{change|two|three}} variants of this:
 
 
 
* For {{change||block states and }}bits per {{change|block|entry}} <= 4, 4 bits are used to represent a block.
 
* For {{change||block states and }}bits per block between 5 and 8, the given value is used.
 
* For biomes and bits per entry <= 3, the given value is used.
 
 
 
This is an actual palette which lists the {{change|block states|entries}} used. Values in the chunk section's data array are indices into the palette, which in turn gives a proper {{change|block state|entry}}.
 
 
 
The format is as follows:
 
 
 
{| class="wikitable"
 
|-
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
| Palette Length
 
| VarInt
 
| Number of elements in the following array.
 
|-
 
| Palette
 
| Array of VarInt
 
| Mapping of {{change|block state|entry}} IDs in the global palette to indices of this array
 
|}
 
 
 
====== Direct ======
 
 
 
This format is used for bits per {{change|block|entry}} values greater than or equal to {{change|9|a threshold (9 for block states, 4 for biomes)}}. The number of bits used to represent {{change|a block|an entry}} is the base 2 logarithm of the number of {{change|block states|entries in the global palette}}, rounded up. For the current vanilla release, this is 15 bits {{change|per block|per entry for block states, and 6 bits per entry for biomes}}.
 
 
 
The "palette" uses the following format:
 
{| class="wikitable"
 
|-
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|colspan="3"| ''no fields''
 
|}
 
  
 
== Entity Metadata ==
 
== Entity Metadata ==
Line 213: Line 55:
 
=== Clientbound ===
 
=== Clientbound ===
  
==== Block Entity Data ====
+
==== Open Sign Editor ====
  
Sets the block entity associated with the block at the given location.
+
Sent when the client has placed a sign and is allowed to send [[#Update Sign|Update Sign]].  There must already be a sign at the given location (which the client does not do automatically) - send a [[#Block Update|Block Update]] first.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 225: Line 67:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="4"| 0x0A
+
  | rowspan="2" | 0x31
  |rowspan="4"| Play
+
  | rowspan="2" | Play
  |rowspan="4"| Client
+
  | rowspan="2" | Client
 
  | Location
 
  | Location
 
  | Position
 
  | Position
  |  
+
  |
|- {{removed}}
 
| Action
 
| Unsigned Byte
 
| The type of update to perform, see below.
 
 
  |- {{added}}
 
  |- {{added}}
  | Type
+
  | Is Front Text
  | VarInt
+
  | Boolean
  | The type of block entity
+
  | Whether the opened editor is for the front or on the back of the sign
|-
 
| NBT Data
 
| [[NBT|NBT Tag]]
 
| Data to set.  May be a TAG_END (0), in which case the block entity at the given location is removed (though this is not required since the client will remove the block entity automatically on chunk unload or block removal).
 
 
  |}
 
  |}
  
==== Chunk Data and Update Light ====
+
==== Feature Flags ====
{{Main|Chunk Format}}
 
{{See also|#Unload Chunk}}
 
 
 
{{Need Info|How do biomes work now?  The biome change happened at the same time as the seed change, but it's not clear how/if biomes could be computed given that it's not the actual seed...  ([https://www.reddit.com/r/Mojira/comments/e5at6i/a_discussion_for_the_changes_to_how_biomes_are/ /r/mojira discussion] which notes that it seems to be some kind of interpolation, and 3D biomes are only used in the nether)}}
 
  
The server only sends skylight information for chunk pillars in the {{Minecraft Wiki|Overworld}}, it's up to the client to know in which dimension the player is currently located. You can also infer this information from the primary bitmask and the amount of uncompressed bytes sent.  This packet also sends all block entities in the chunk (though sending them is not required; it is still legal to send them with [[#Update Block Entity|Update Block Entity]] later).
+
Used to enable and disable features, generally experimental ones, on the client.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 257: Line 87:
 
  ! State
 
  ! State
 
  ! Bound To
 
  ! Bound To
  !colspan="2"| Field Name
+
  ! Field Name
  !colspan="2"| Field Type
+
  ! Field Type
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="32"| {{change|0x20|0x22}}
+
  | rowspan="2"| 0x6B
  |rowspan="32"| Play
+
  | rowspan="2"| Play
  |rowspan="32"| Client
+
  | rowspan="2"| Client
  |colspan="2"| Chunk X
+
  | Total Features
  |colspan="2"| Int
+
  | VarInt
  | Chunk coordinate (block coordinate divided by 16, rounded down)
+
  | Number of features that appear in the array below.
 
  |-
 
  |-
  |colspan="2"| Chunk Z
+
  | Feature Flags
|colspan="2"| Int
+
  | Identifier Array
| Chunk coordinate (block coordinate divided by 16, rounded down)
+
  |
|- {{removed}}
 
|colspan="2"| Bit Mask Length
 
|colspan="2"| VarInt
 
| Length of the following array
 
|- {{removed}}
 
|colspan="2"| Primary Bit Mask
 
|colspan="2"| Array of Long
 
| BitSet with bits (world height in blocks / 16) set to 1 for every 16×16×16 chunk section whose data is included in Data. The least significant bit represents the chunk section at the bottom of the chunk column (from the lowest y to 15 blocks above).
 
|-
 
|colspan="2"| Heightmaps
 
|colspan="2"| [[NBT]]
 
| Compound containing one long array named <code>MOTION_BLOCKING</code>, which is a heightmap for the highest solid block at each position in the chunk (as a compacted long array with 256 entries{{change| at 9 bits per entry totaling 36 longs|, with the number of bits per entry varying depending on the world's height, defined by the formula <code>ceil(log2(height + 1))</code>}}). The Notchian server also adds a <code>WORLD_SURFACE</code> long array, the purpose of which is unknown, but it's not required for the chunk to be accepted.
 
|- {{removed}}
 
|colspan="2"| Biomes length
 
|colspan="2"| VarInt
 
  | Size of the following array; should always be 1024.  {{change|Not present if full chunk is false.|}}
 
|- {{removed}}
 
|colspan="2"| Biomes
 
|colspan="2"| Array of VarInt
 
| 1024 biome IDs, ordered by x then z then y, in 4&times;4&times;4 blocks.  {{change|Not present if full chunk is false.|}}  See [[Chunk Format#Biomes|Chunk Format § Biomes]].
 
|-
 
  |colspan="2"| Size
 
|colspan="2"| VarInt
 
| Size of Data in bytes
 
|-
 
|colspan="2"| Data
 
|colspan="2"| Byte array
 
| See [[Chunk Format#Data structure|data structure]] in Chunk Format
 
|-
 
|colspan="2"| Number of block entities
 
|colspan="2"| VarInt
 
| Number of elements in the following array
 
|- {{removed}}
 
|colspan="2"| Block entities
 
|colspan="2"| Array of [[NBT|NBT Tag]]
 
| All block entities in the chunk.  Use the x, y, and z tags in the NBT to determine their positions.
 
|- {{added}}
 
|rowspan="4" | Block Entity
 
| Packed XZ
 
|rowspan="4" | Array
 
| Byte
 
| The packed section coordinates, calculated from ((blockX & 15) << 4) | (blockZ & 15)
 
|- {{added}}
 
| Y
 
| Short
 
| The height relative to the world
 
|- {{added}}
 
| Type
 
| VarInt
 
| The type of block entity
 
|- {{added}}
 
| Data
 
| [[NBT]]
 
| The block entity's data, without the X, Y, and Z values
 
|- {{added}}
 
|colspan="2"| Trust Edges
 
|colspan="2"| Boolean
 
| If edges should be trusted for light updates.
 
|- {{added}}
 
|colspan="2"| Length 1
 
|colspan="2"| VarInt
 
| Length of the following array
 
|- {{added}}
 
|colspan="2"| Sky Light Mask
 
|colspan="2"| Array of Long
 
| BitSet containing bits for each sections in the world + 2 (lowest bit 16-1 blocks below min world height, highest 1-16 above max world height)
 
|- {{added}}
 
|colspan="2"| Length 2
 
|colspan="2"| VarInt
 
| Length of the following array
 
|- {{added}}
 
|colspan="2"| Block Light Mask
 
|colspan="2"| Array of Long
 
| BitSet containing bits for each sections in the world + 2, same order as sky light
 
|- {{added}}
 
|colspan="2"| Length 3
 
|colspan="2"| VarInt
 
| Length of the following array
 
|- {{added}}
 
|colspan="2"| Empty Sky Light Mask
 
|colspan="2"| Array of Long
 
| BitSet containing a variable amount of bits (see sky/block light) which indicates sections that have 0 for all their sky light values
 
|- {{added}}
 
|colspan="2"| Length 4
 
|colspan="2"| VarInt
 
| Length of the following array
 
|- {{added}}
 
|colspan="2"| Empty Block Light Mask
 
|colspan="2"| Array of Long
 
| BitSet containing a variable amount of bits (see sky/block light) which indicates sections that have 0 for all their block light values
 
|- {{added}}
 
|colspan="2"| Sky Light array count
 
|colspan="2"| VarInt
 
| Number of entries in the following array
 
|- {{added}}
 
|rowspan="2"| Sky Light arrays
 
| Length
 
|rowspan="2"| Array
 
| VarInt
 
| Length of the following array in bytes (always 2048)
 
|- {{added}}
 
| Sky Light array
 
| Array of 2048 bytes
 
| There is 1 array for each bit set to true in the sky light mask, starting with the lowest value.  Half a byte per light value.
 
|- {{added}}
 
|colspan="2"| Block Light array count
 
|colspan="2"| VarInt
 
| Number of entries in the following array
 
|- {{added}}
 
|rowspan="2"| Block Light arrays
 
| Length
 
|rowspan="2"| Array
 
| VarInt
 
| Length of the following array in bytes (always 2048)
 
|- {{added}}
 
| Block Light array
 
| Array of 2048 bytes
 
| There is 1 array for each bit set to true in the block light mask, starting with the lowest value.  Half a byte per light value.
 
 
  |}
 
  |}
  
Note that the Notchian client requires an [[#Update View Position|Update View Position]] packet when it crosses a chunk border, otherwise it'll only display render distance + 2 chunks around the chunk it spawned in.
+
As of {{change|1.19.4|23w12a}}, the following feature flags are available:
 
 
The compacted array format has been adjusted so that individual entries no longer span across multiple longs, affecting the main data array and heightmaps.
 
 
 
New format, 5 bits per block, containing the following references to blocks in a palette (not shown): <span style="border: solid 2px hsl(0, 90%, 60%)">1</span><span style="border: solid 2px hsl(30, 90%, 60%)">2</span><span style="border: solid 2px hsl(60, 90%, 60%)">2</span><span style="border: solid 2px hsl(90, 90%, 60%)">3</span><span style="border: solid 2px hsl(120, 90%, 60%)">4</span><span style="border: solid 2px hsl(150, 90%, 60%)">4</span><span style="border: solid 2px hsl(180, 90%, 60%)">5</span><span style="border: solid 2px hsl(210, 90%, 60%)">6</span><span style="border: solid 2px hsl(240, 90%, 60%)">6</span><span style="border: solid 2px hsl(270, 90%, 60%)">4</span><span style="border: solid 2px hsl(300, 90%, 60%)">8</span><span style="border: solid 2px hsl(330, 90%, 60%)">0</span><span style="border: solid 2px hsl(0, 90%, 30%)">7</span><span style="border: solid 2px hsl(30, 90%, 30%)">4</span><span style="border: solid 2px hsl(60, 90%, 30%)">3</span><span style="border: solid 2px hsl(90, 90%, 30%)">13</span><span style="border: solid 2px hsl(120, 90%, 30%)">15</span><span style="border: solid 2px hsl(150, 90%, 30%)">16</span><span style="border: solid 2px hsl(180, 90%, 30%)">9</span><span style="border: solid 2px hsl(210, 90%, 30%)">14</span><span style="border: solid 2px hsl(240, 90%, 30%)">10</span><span style="border: solid 2px hsl(270, 90%, 30%)">12</span><span style="border: solid 2px hsl(300, 90%, 30%)">0</span><span style="border: solid 2px hsl(330, 90%, 30%)">2</span>
 
  
<code>0020863148418841</code> <code><span style="outline: dashed 2px black">0000</span><span style="outline: solid 2px hsl(330, 90%, 60%)">00000</span><span style="outline: solid 2px hsl(300, 90%, 60%)">01000</span><span style="outline: solid 2px hsl(270, 90%, 60%)">00100</span><span style="outline: solid 2px hsl(240, 90%, 60%)">00110</span><span style="outline: solid 2px hsl(210, 90%, 60%)">00110</span><span style="outline: solid 2px hsl(180, 90%, 60%)">00101</span><span style="outline: solid 2px hsl(150, 90%, 60%)">00100</span><span style="outline: solid 2px hsl(120, 90%, 60%)">00100</span><span style="outline: solid 2px hsl(90, 90%, 60%)">00011</span><span style="outline: solid 2px hsl(60, 90%, 60%)">00010</span><span style="outline: solid 2px hsl(30, 90%, 60%)">00010</span><span style="outline: solid 2px hsl(0, 90%, 60%)">00001</span></code><br>
+
* minecraft:vanilla - enables vanilla features</li>
<code>01018A7260F68C87</code> <code><span style="outline: dashed 2px black">0000</span><span style="outline: solid 2px hsl(330, 90%, 30%)">00010</span><span style="outline: solid 2px hsl(300, 90%, 30%)">00000</span><span style="outline: solid 2px hsl(270, 90%, 30%)">01100</span><span style="outline: solid 2px hsl(240, 90%, 30%)">01010</span><span style="outline: solid 2px hsl(210, 90%, 30%)">01110</span><span style="outline: solid 2px hsl(180, 90%, 30%)">01001</span><span style="outline: solid 2px hsl(150, 90%, 30%)">10000</span><span style="outline: solid 2px hsl(120, 90%, 30%)">01111</span><span style="outline: solid 2px hsl(90, 90%, 30%)">01101</span><span style="outline: solid 2px hsl(60, 90%, 30%)">00011</span><span style="outline: solid 2px hsl(30, 90%, 30%)">00100</span><span style="outline: solid 2px hsl(0, 90%, 30%)">00111</span></code>
+
* minecraft:bundle - enables support for the bundle</li>
 +
* {{change|minecraft:update_1_20 - enables all the Minecraft 1.20 features that are available in 1.19.4</li>|}}
  
==== Join Game ====
+
==== Update Recipes ====
 
 
See [[Protocol Encryption]] for information on logging in.
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 408: Line 115:
 
  ! State
 
  ! State
 
  ! Bound To
 
  ! Bound To
  ! Field Name
+
  ! colspan="2"| Field Name
  ! Field Type
+
  ! colspan="2"| Field Type
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="17"| 0x26
+
  | rowspan="4"| 0x6D
  |rowspan="17"| Play
+
  | rowspan="4"| Play
  |rowspan="17"| Client
+
  | rowspan="4"| Client
  | Entity ID
+
  | colspan="2"| Num Recipes
  | Int
+
  | colspan="2"| VarInt
  | The player's Entity ID (EID).
+
  | Number of elements in the following array.
 
  |-
 
  |-
  | Is hardcore
+
  | rowspan="3"| Recipe
  | Boolean
+
| Type
  |
+
| rowspan="3"| Array
 +
  | Identifier
 +
  | The recipe type, see below.
 
  |-
 
  |-
  | Gamemode
+
  | Recipe ID
| Unsigned Byte
 
| 0: Survival, 1: Creative, 2: Adventure, 3: Spectator.
 
|-
 
| Previous Gamemode
 
| Byte
 
| 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included. The previous gamemode. Defaults to -1 if there is no previous gamemode. (More information needed)
 
|-
 
| World Count
 
| VarInt
 
| Size of the following array.
 
|-
 
| World Names
 
| Array of Identifier
 
| Identifiers for all worlds on the server.
 
|-
 
| Dimension Codec
 
| [[NBT|NBT Tag Compound]]
 
| The full extent of these is still unknown, but the tag represents a dimension and biome registry. See below for the vanilla default.
 
|-
 
| Dimension
 
| [[NBT|NBT Tag Compound]]
 
| Valid dimensions are defined per dimension registry sent before this. The structure of this tag is a dimension type (see below).
 
|-
 
| World Name
 
 
  | Identifier
 
  | Identifier
  | Name of the world being spawned into.
+
  |
 
  |-
 
  |-
  | Hashed seed
+
  | Data
  | Long
+
  | Varies
  | First 8 bytes of the SHA-256 hash of the world's seed. Used client side for biome noise
+
  | Additional data for the recipe.
|-
 
| Max Players
 
| VarInt
 
| Was once used by the client to draw the player list, but now is ignored.
 
|-
 
| View Distance
 
| VarInt
 
| Render distance (2-32).
 
|- {{added}}
 
| Simulation Distance
 
| VarInt
 
| The distance that the client will process specific things, such as entities.
 
|-
 
| Reduced Debug Info
 
| Boolean
 
| If true, a Notchian client shows reduced information on the {{Minecraft Wiki|debug screen}}.  For servers in development, this should almost always be false.
 
|-
 
| Enable respawn screen
 
| Boolean
 
| Set to false when the doImmediateRespawn gamerule is true.
 
|-
 
| Is Debug
 
| Boolean
 
| True if the world is a {{Minecraft Wiki|debug mode}} world; debug mode worlds cannot be modified and have predefined blocks.
 
|-
 
| Is Flat
 
| Boolean
 
| True if the world is a {{Minecraft Wiki|superflat}} world; flat worlds have different void fog and a horizon at y=0 instead of y=63.
 
 
  |}
 
  |}
  
 
+
Recipe types:
The '''Dimension Codec''' NBT Tag Compound ([https://gist.githubusercontent.com/BomBardyGamer/c075a7a34b51f2df9d5aabdd2a762f4f/raw/c7352784dfadbca00d2282aeca04ed80081bfb09/dimension_codec.snbt Default value in SNBT]) includes two registries: "minecraft:dimension_type" and "minecraft:worldgen/biome".
 
  
 
{| class="wikitable"
 
{| class="wikitable"
  !Name
+
  ! Type
  !Type
+
  ! Description
  !style="width: 250px;" colspan="2"| Notes
+
  ! Data
 
  |-
 
  |-
  | minecraft:dimension_type
+
  | <code>minecraft:crafting_shapeless</code>
  | TAG_Compound
+
  | Shapeless crafting recipe. All items in the ingredient list must be present, but in any order/slot.
  | The dimension type registry (see below).
+
  | As follows:
 +
  {| class="wikitable"
 +
    ! Name
 +
    ! Type
 +
    ! Description
 +
    |-
 +
    | Group
 +
    | String
 +
    | Used to group similar recipes together in the recipe book. Tag is present in recipe JSON.
 +
    |-
 +
    |Category
 +
    |VarInt Enum
 +
    |Building = 0, Redstone = 1, Equipment = 2, Misc = 3
 +
    |-
 +
    | Ingredient count
 +
    | VarInt
 +
    | Number of elements in the following array.
 +
    |-
 +
    | Ingredients
 +
    | Array of Ingredient.
 +
    |
 +
    |-
 +
    | Result
 +
    | [[Slot]]
 +
    |
 +
    |}
 
  |-
 
  |-
  | minecraft:worldgen/biome
+
  | <code>minecraft:crafting_shaped</code>
  | TAG_Compound
+
  | Shaped crafting recipe. All items must be present in the same pattern (which may be flipped horizontally or translated).
| The biome registry (see below).
+
  | As follows:
  |}
+
  {| class="wikitable"
 
+
    ! Name
Dimension type registry:
+
    ! Type
 
+
    ! Description
{| class="wikitable"
+
    |-
!Name
+
    | Width
!Type
+
    | VarInt
!style="width: 250px;" colspan="2"| Notes
+
    |
 +
    |-
 +
    | Height
 +
    | VarInt
 +
    |
 +
    |-
 +
    | Group
 +
    | String
 +
    | Used to group similar recipes together in the recipe book. Tag is present in recipe JSON.
 +
    |-
 +
    |Category
 +
    |VarInt Enum
 +
    |Building = 0, Redstone = 1, Equipment = 2, Misc = 3
 +
    |-
 +
    | Ingredients
 +
    | Array of Ingredient
 +
    | Length is <code>width * height</code>. Indexed by <code>x + (y * width)</code>.
 +
    |-
 +
    | Result
 +
    | [[Slot]]
 +
    |-
 +
    | Show notification
 +
    | Boolean
 +
    | Show a toast when the recipe is [[Protocol#Update_Recipe_Book|added]].
 +
    |}
 
  |-
 
  |-
  | type
+
  | <code>minecraft:crafting_special_armordye</code>
  | TAG_String
+
  | Recipe for dying leather armor
  | The name of the registry. Always "minecraft:dimension_type".
+
  | rowspan="14" | As follows:
 +
  {| class="wikitable"
 +
    ! Name
 +
    ! Type
 +
    ! Description
 +
    |-
 +
    |Category
 +
    |VarInt Enum
 +
    |Building = 0, Redstone = 1, Equipment = 2, Misc = 3
 +
    |}
 
  |-
 
  |-
  | value
+
  | <code>minecraft:crafting_special_bookcloning</code>
| TAG_List
+
  | Recipe for copying contents of written books
  | List of dimension types registry entries (see below).
 
|}
 
 
 
Dimension type registry entry:
 
 
 
{| class="wikitable"
 
!Name
 
!Type
 
!style="width: 250px;" colspan="2"| Notes
 
 
  |-
 
  |-
  | name
+
  | <code>minecraft:crafting_special_mapcloning</code>
  | TAG_String
+
  | Recipe for copying maps
| The name of the dimension type (for example, "minecraft:overworld").
 
 
  |-
 
  |-
  | id
+
  | <code>minecraft:crafting_special_mapextending</code>
  | TAG_Int
+
  | Recipe for adding paper to maps
| The protocol ID of the dimension (matches the index of the element in the registry list).
 
 
  |-
 
  |-
  | element
+
  | <code>minecraft:crafting_special_firework_rocket</code>
| TAG_Compound
+
  | Recipe for making firework rockets
| The dimension type (see below).
 
|}
 
 
 
Dimension type:
 
 
 
{| class="wikitable"
 
! Name
 
! Type
 
  !style="width: 250px;" colspan="2"| Meaning
 
! Values
 
 
  |-
 
  |-
  | piglin_safe
+
  | <code>minecraft:crafting_special_firework_star</code>
| TAG_Byte
+
  | Recipe for making firework stars
|colspan="2"| Whether piglins shake and transform to zombified piglins.
 
  | 1: true, 0: false.
 
 
  |-
 
  |-
  | natural
+
  | <code>minecraft:crafting_special_firework_star_fade</code>
| TAG_Byte
+
  | Recipe for making firework stars fade between multiple colors
|colspan="2"| When false, compasses spin randomly. When true, nether portals can spawn zombified piglins.
 
  | 1: true, 0: false.
 
 
  |-
 
  |-
  | ambient_light
+
  | <code>minecraft:crafting_special_repairitem</code>
  | TAG_Float
+
  | Recipe for repairing items via crafting
|colspan="2"| How much light the dimension has.
 
| 0.0 to 1.0.
 
 
  |-
 
  |-
  | fixed_time
+
  | <code>minecraft:crafting_special_tippedarrow</code>
  | Optional TAG_Long
+
  | Recipe for crafting tipped arrows
|colspan="2"| If set, the time of the day is the specified value.
 
| If set, 0 to 24000.
 
 
  |-
 
  |-
  | infiniburn
+
  | <code>minecraft:crafting_special_bannerduplicate</code>
| TAG_String
+
  | Recipe for copying banner patterns
  |colspan="2"| A resource location defining what block tag to use for infiniburn.
 
| "" or minecraft resource "minecraft:...".
 
 
  |-
 
  |-
  | respawn_anchor_works
+
  | <code>minecraft:crafting_special_shielddecoration</code>
| TAG_Byte
+
  | Recipe for applying a banner's pattern to a shield
|colspan="2"| Whether players can charge and use respawn anchors.
 
  | 1: true, 0: false.
 
 
  |-
 
  |-
  | has_skylight
+
  | <code>minecraft:crafting_special_shulkerboxcoloring</code>
| TAG_Byte
+
  | Recipe for recoloring a shulker box
|colspan="2"| Whether the dimension has skylight access or not.
 
  | 1: true, 0: false.
 
 
  |-
 
  |-
  | bed_works
+
  | <code>minecraft:crafting_special_suspiciousstew</code>
| TAG_Byte
+
  | Recipe for crafting suspicious stews
|colspan="2"| Whether players can use a bed to sleep.
 
  | 1: true, 0: false.
 
 
  |-
 
  |-
  | effects
+
  | <code>minecraft:crafting_decorated_pot</code>
  | TAG_String
+
  | Recipe for crafting decorated pots
|colspan="2"| ?
+
{{change|{{Warning|The Notchian server only sends this recipe if [[Protocol#Feature_Flags|feature flag]] '''update_1_20''' was enabled}}|}}
| "minecraft:overworld", "minecraft:the_nether", "minecraft:the_end" or something else.
 
 
  |-
 
  |-
  | has_raids
+
  | <code>minecraft:smelting</code>
  | TAG_Byte
+
  | Smelting recipe
  |colspan="2"| Whether players with the Bad Omen effect can cause a raid.
+
  | rowspan="4"| As follows:
| 1: true, 0: false.
+
  {| class="wikitable"
 +
    ! Name
 +
    ! Type
 +
    ! Description
 +
    |-
 +
    | Group
 +
    | String
 +
    | Used to group similar recipes together in the recipe book.
 +
    |-
 +
    |Category
 +
    |VarInt Enum
 +
    |Food = 0, Blocks = 1, Misc = 2
 +
    |-
 +
    | Ingredient
 +
    | Ingredient
 +
    |
 +
    |-
 +
    | Result
 +
    | [[Slot]]
 +
    |
 +
    |-
 +
    | Experience
 +
    | Float
 +
    |
 +
    |-
 +
    | Cooking time
 +
    | VarInt
 +
    |
 +
    |}
 
  |-
 
  |-
  | min_y
+
  | <code>minecraft:blasting</code>
| TAG_Int
+
  | Blast furnace recipe
|colspan="2"| The minimum Y level.
 
  |
 
 
  |-
 
  |-
  | height
+
  | <code>minecraft:smoking</code>
| TAG_Int
+
  | Smoker recipe
|colspan="2"| The maximum height.
 
  |
 
 
  |-
 
  |-
  | logical_height
+
  | <code>minecraft:campfire_cooking</code>
  | TAG_Int
+
  | Campfire recipe
|colspan="2"| The maximum height to which chorus fruits and nether portals can bring players within this dimension.
 
| 0-256.
 
 
  |-
 
  |-
  | coordinate_scale
+
  | <code>minecraft:stonecutting</code>
  | TAG_Float
+
  | Stonecutter recipe
  |colspan="2"| The multiplier applied to coordinates when traveling to the dimension.
+
  | As follows:
  | 0.00001 - 30000000.0
+
  {| class="wikitable"
 +
    ! Name
 +
    ! Type
 +
    ! Description
 +
    |-
 +
    | Group
 +
    | String
 +
    | Used to group similar recipes together in the recipe book. Tag is present in recipe JSON.
 +
    |-
 +
    | Ingredient
 +
    | Ingredient
 +
    |
 +
    |-
 +
    | Result
 +
    | [[Slot]]
 +
    |
 +
    |}
 +
  |- {{removed}}
 +
| <code>minecraft:smithing</code>
 +
| Smithing table recipe
 +
{{Warning|The Notchian server only sends this recipe if [[Protocol#Feature_Flags|feature flag]] '''update_1_20''' was '''not''' enabled}}
 +
| As follows:
 +
  {| class="wikitable"
 +
    ! Name
 +
    ! Type
 +
    ! Description
 +
    |-
 +
    | Base
 +
    | Ingredient
 +
    | First item.
 +
    |-
 +
    | Addition
 +
    | Ingredient
 +
    | Second item.
 +
    |-
 +
    | Result
 +
    | [[Slot]]
 +
    |
 +
    |}
 
  |-
 
  |-
  | ultrawarm
+
  | <code>minecraft:smithing_transform</code>
  | TAG_Byte
+
  | Recipe for smithing netherite gear
  |colspan="2"| Whether the dimensions behaves like the nether (water evaporates and sponges dry) or not. Also causes lava to spread thinner.
+
{{change|{{Warning2|The Notchian server only sends this recipe if [[Protocol#Feature_Flags|feature flag]] '''update_1_20''' was enabled. It supersedes the <code>minecraft:smithing</code> recipe type}}|}}
| 1: true, 0: false.
+
  | As follows:
 +
  {| class="wikitable"
 +
    ! Name
 +
    ! Type
 +
    ! Description
 +
    |-
 +
    | Template
 +
    | Ingredient
 +
    | The smithing template.
 +
    |-
 +
    | Base
 +
    | Ingredient
 +
    | The base item.
 +
    |-
 +
    | Addition
 +
    | Ingredient
 +
    | The additional ingredient.
 +
    |-
 +
    | Result
 +
    | [[Slot]]
 +
    |
 +
    |}
 
  |-
 
  |-
  | has_ceiling
+
  | <code>minecraft:smithing_trim</code>
  | TAG_Byte
+
  | Recipe for applying armor trims
  |colspan="2"| Whether the dimension has a bedrock ceiling or not. When true, causes lava to spread faster.
+
{{change|{{Warning2|The Notchian server only sends this recipe if [[Protocol#Feature_Flags|feature flag]] '''update_1_20''' was enabled. It supersedes the <code>minecraft:smithing</code> recipe type}}|}}
| 1: true, 0: false.
+
  | As follows:
 +
  {| class="wikitable"
 +
    ! Name
 +
    ! Type
 +
    ! Description
 +
    |-
 +
    | Template
 +
    | Ingredient
 +
    | The smithing template.
 +
    |-
 +
    | Base
 +
    | Ingredient
 +
    | The base item.
 +
    |-
 +
    | Addition
 +
    | Ingredient
 +
    | The additional ingredient.
 +
    |}
 
  |}
 
  |}
  
Biome registry:
+
Ingredient is defined as:
  
 
{| class="wikitable"
 
{| class="wikitable"
  !Name
+
  ! Name
  !Type
+
  ! Type
  !style="width: 250px;" colspan="2"| Notes
+
  ! Description
 
  |-
 
  |-
  | type
+
  | Count
  | TAG_String
+
  | VarInt
  | The name of the registry. Always "minecraft:worldgen/biome".
+
  | Number of elements in the following array.
 
  |-
 
  |-
  | value
+
  | Items
  | TAG_List
+
  | Array of [[Slot]]
  | List of biome registry entries (see below).
+
  | Any item in this array may be used for the recipe.  The count of each item should be 1.
 
  |}
 
  |}
  
Biome registry entry:
+
=== Serverbound ===
 +
 
 +
==== Update Sign ====
  
{| class="wikitable"
+
This message is sent from the client to the server when the “Done” button is pushed after placing a sign.
!Name
 
!Type
 
!style="width: 250px;" colspan="2"| Notes
 
|-
 
| name
 
| TAG_String
 
| The name of the biome (for example, "minecraft:ocean").
 
|-
 
| id
 
| TAG_Int
 
| The protocol ID of the biome (matches the index of the element in the registry list).
 
|-
 
| element
 
| TAG_Compound
 
| The biome properties (see below).
 
|}
 
  
Biome properties:
+
The server only accepts this packet after [[#Open Sign Editor|Open Sign Editor]], otherwise this packet is silently ignored.
  
 
{| class="wikitable"
 
{| class="wikitable"
!colspan="2"|Name
 
!colspan="2"|Type
 
!style="width: 250px;" colspan="2"| Meaning
 
!colspan="2"|Values
 
|-
 
|colspan="2"|precipitation
 
|colspan="2"|TAG_String
 
|colspan="2"| The type of precipitation in the biome.
 
|colspan="2"|"rain", "snow", or "none".
 
|-
 
|colspan="2"| depth
 
|colspan="2"| TAG_Float
 
|colspan="2"| The depth factor of the biome.
 
|colspan="2"| The default values vary between 1.5 and -1.8.
 
|-
 
|colspan="2"| temperature
 
|colspan="2"| TAG_Float
 
|colspan="2"| The temperature factor of the biome.
 
|colspan="2"| The default values vary between 2.0 and -0.5.
 
|-
 
|colspan="2"| scale
 
|colspan="2"| TAG_Float
 
|colspan="2"| ?
 
|colspan="2"| The default values vary between 1.225 and 0.0.
 
|-
 
|colspan="2"| downfall
 
|colspan="2"| TAG_Float
 
|colspan="2"| ?
 
|colspan="2"| The default values vary between 1.0 and 0.0.
 
|-
 
|colspan="2"| category
 
|colspan="2"| TAG_String
 
|colspan="2"| The category of the biome.
 
|colspan="2"| Known values are "ocean", "plains", "desert", "forest", "extreme_hills", "taiga", "swamp", "river", "nether", "the_end", "icy", "mushroom", "beach", "jungle", "mesa", "savanna", and "none".
 
|-
 
|colspan="2"| temperature_modifier
 
|colspan="2"| Optional TAG_String
 
|colspan="2"| ?
 
|colspan="2"| The only known value is "frozen".
 
|-
 
|rowspan="11"| effects
 
| sky_color
 
|rowspan="11"| TAG_Compound
 
| TAG_Int
 
|colspan="2"| The color of the sky.
 
| Example: 8364543, which is #7FA1FF in RGB.
 
|-
 
| water_fog_color
 
| TAG_Int
 
|colspan="2"| Possibly the tint color when swimming.
 
| Example: 8364543, which is #7FA1FF in RGB.
 
|-
 
| fog_color
 
| TAG_Int
 
|colspan="2"| Possibly the color of the fog effect when looking past the view distance.
 
| Example: 8364543, which is #7FA1FF in RGB.
 
|-
 
| water_color
 
| TAG_Int
 
|colspan="2"| The tint color of the water blocks.
 
| Example: 8364543, which is #7FA1FF in RGB.
 
|-
 
| foliage_color
 
| Optional TAG_Int
 
|colspan="2"| The tint color of the grass.
 
| Example: 8364543, which is #7FA1FF in RGB.
 
|-
 
| grass_color
 
| Optional TAG_Int
 
| colspan="2"| ?
 
| Example: 8364543, which is #7FA1FF in RGB.
 
|-
 
| grass_color_modifier
 
| Optional TAG_String
 
|colspan="2"| Unknown, likely affects foliage color.
 
| If set, known values are "swamp" and "dark_forest".
 
|-
 
| music
 
| Optional TAG_Compound
 
|colspan="2"| Music properties for the biome.
 
| If present, contains the fields: replace_current_music (TAG_Byte), sound (TAG_String), max_delay (TAG_Int), min_delay (TAG_Int).
 
|-
 
| ambient_sound
 
| Optional TAG_String
 
|colspan="2"| Ambient soundtrack.
 
| If present, the ID of a soundtrack. Example: "minecraft:ambient.basalt_deltas.loop".
 
|-
 
| additions_sound
 
| Optional TAG_Compound
 
|colspan="2"| Additional ambient sound that plays randomly.
 
| If present, contains the fields: sound (TAG_String), tick_chance (TAG_Double).
 
|-
 
| mood_sound
 
| Optional TAG_Compound
 
|colspan="2"| Additional ambient sound that plays at an interval.
 
| If present, contains the fields: sound (TAG_String), tick_delay (TAG_Int), offset (TAG_Double), block_search_extent (TAG_Int).
 
|-
 
|rowspan="2"|particle
 
| probability
 
|rowspan="2"|Optional TAG_Compound
 
| TAG_FLOAT
 
|rowspan="2"| Particles that appear randomly in the biome.
 
| Possibly the probability of spawning the particle.
 
| ?
 
|-
 
| options
 
| TAG_COMPOUND
 
| The properties of the particle to spawn.
 
| Contains the field "type" (TAG_String), which identifies the particle type.
 
|}
 
 
==== Update Simulation Distance ====
 
 
{| class="wikitable" {{Added}}
 
 
  ! Packet ID
 
  ! Packet ID
 
  ! State
 
  ! State
Line 786: Line 432:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  | 0x26
+
  | rowspan="6"| 0x2E
  | Play
+
  | rowspan="6"| Play
  | Client
+
  | rowspan="6"| Server
  | Simulation Distance
+
| Location
  | VarInt
+
| Position
  | The distance that the client will process specific things, such as entities.
+
| Block Coordinates.
 +
|- {{added}}
 +
| Is Front Text
 +
| Boolean
 +
| Whether the updated text is in front or on the back of the sign
 +
|-
 +
| Line 1
 +
| String (384)
 +
| First line of text in the sign.
 +
|-
 +
| Line 2
 +
| String (384)
 +
| Second line of text in the sign.
 +
|-
 +
| Line 3
 +
| String (384)
 +
| Third line of text in the sign.
 +
|-
 +
  | Line 4
 +
  | String (384)
 +
  | Fourth line of text in the sign.
 
  |}
 
  |}
 
=== Serverbound ===
 
 
No changes so far.
 
  
 
== Status ==
 
== Status ==

Revision as of 00:12, 30 March 2023

This page documents the changes from the last stable Minecraft release (currently 1.19.4, protocol 762) to the current pre-release (currently 23w13a, protocol Snapshot 128). Note that this page contains bleeding-edge information that may not be completely or correctly documented.

One who wishes to commandeer the merging of this into Protocol when an update is made must be sure to respect any changes that may have occurred to the respective packets there.

Contents

Data types

No changes so far.

Packets

ID Packet name Documentation
Play clientbound
0x31 Open Sign Editor Current Pre
0x6B Feature Flags Current Pre
0x6D Update Recipes Current Pre
Play serverbound
0x2E Update Sign Current Pre

New/modified data types

No changes so far.

Entity Metadata

No changes so far.

Entity

No changes so far.

Block Actions

No changes so far.

Inventories

No changes so far.

Plugin Channels

No changes so far.

Play

Clientbound

Open Sign Editor

Sent when the client has placed a sign and is allowed to send Update Sign. There must already be a sign at the given location (which the client does not do automatically) - send a Block Update first.

Packet ID State Bound To Field Name Field Type Notes
0x31 Play Client Location Position
Is Front Text Boolean Whether the opened editor is for the front or on the back of the sign

Feature Flags

Used to enable and disable features, generally experimental ones, on the client.

Packet ID State Bound To Field Name Field Type Notes
0x6B Play Client Total Features VarInt Number of features that appear in the array below.
Feature Flags Identifier Array

As of 1.19.4 23w12a, the following feature flags are available:

  • minecraft:vanilla - enables vanilla features
  • minecraft:bundle - enables support for the bundle
  • minecraft:update_1_20 - enables all the Minecraft 1.20 features that are available in 1.19.4

Update Recipes

Packet ID State Bound To Field Name Field Type Notes
0x6D Play Client Num Recipes VarInt Number of elements in the following array.
Recipe Type Array Identifier The recipe type, see below.
Recipe ID Identifier
Data Varies Additional data for the recipe.

Recipe types:

Type Description Data
minecraft:crafting_shapeless Shapeless crafting recipe. All items in the ingredient list must be present, but in any order/slot. As follows:
Name Type Description
Group String Used to group similar recipes together in the recipe book. Tag is present in recipe JSON.
Category VarInt Enum Building = 0, Redstone = 1, Equipment = 2, Misc = 3
Ingredient count VarInt Number of elements in the following array.
Ingredients Array of Ingredient.
Result Slot
minecraft:crafting_shaped Shaped crafting recipe. All items must be present in the same pattern (which may be flipped horizontally or translated). As follows:
Name Type Description
Width VarInt
Height VarInt
Group String Used to group similar recipes together in the recipe book. Tag is present in recipe JSON.
Category VarInt Enum Building = 0, Redstone = 1, Equipment = 2, Misc = 3
Ingredients Array of Ingredient Length is width * height. Indexed by x + (y * width).
Result Slot
Show notification Boolean Show a toast when the recipe is added.
minecraft:crafting_special_armordye Recipe for dying leather armor As follows:
Name Type Description
Category VarInt Enum Building = 0, Redstone = 1, Equipment = 2, Misc = 3
minecraft:crafting_special_bookcloning Recipe for copying contents of written books
minecraft:crafting_special_mapcloning Recipe for copying maps
minecraft:crafting_special_mapextending Recipe for adding paper to maps
minecraft:crafting_special_firework_rocket Recipe for making firework rockets
minecraft:crafting_special_firework_star Recipe for making firework stars
minecraft:crafting_special_firework_star_fade Recipe for making firework stars fade between multiple colors
minecraft:crafting_special_repairitem Recipe for repairing items via crafting
minecraft:crafting_special_tippedarrow Recipe for crafting tipped arrows
minecraft:crafting_special_bannerduplicate Recipe for copying banner patterns
minecraft:crafting_special_shielddecoration Recipe for applying a banner's pattern to a shield
minecraft:crafting_special_shulkerboxcoloring Recipe for recoloring a shulker box
minecraft:crafting_special_suspiciousstew Recipe for crafting suspicious stews
minecraft:crafting_decorated_pot Recipe for crafting decorated pots

Warning.png The Notchian server only sends this recipe if feature flag update_1_20 was enabled

minecraft:smelting Smelting recipe As follows:
Name Type Description
Group String Used to group similar recipes together in the recipe book.
Category VarInt Enum Food = 0, Blocks = 1, Misc = 2
Ingredient Ingredient
Result Slot
Experience Float
Cooking time VarInt
minecraft:blasting Blast furnace recipe
minecraft:smoking Smoker recipe
minecraft:campfire_cooking Campfire recipe
minecraft:stonecutting Stonecutter recipe As follows:
Name Type Description
Group String Used to group similar recipes together in the recipe book. Tag is present in recipe JSON.
Ingredient Ingredient
Result Slot
minecraft:smithing Smithing table recipe

Warning.png The Notchian server only sends this recipe if feature flag update_1_20 was not enabled

As follows:
Name Type Description
Base Ingredient First item.
Addition Ingredient Second item.
Result Slot
minecraft:smithing_transform Recipe for smithing netherite gear

Warning.png The Notchian server only sends this recipe if feature flag update_1_20 was enabled. It supersedes the minecraft:smithing recipe type

As follows:
Name Type Description
Template Ingredient The smithing template.
Base Ingredient The base item.
Addition Ingredient The additional ingredient.
Result Slot
minecraft:smithing_trim Recipe for applying armor trims

Warning.png The Notchian server only sends this recipe if feature flag update_1_20 was enabled. It supersedes the minecraft:smithing recipe type

As follows:
Name Type Description
Template Ingredient The smithing template.
Base Ingredient The base item.
Addition Ingredient The additional ingredient.

Ingredient is defined as:

Name Type Description
Count VarInt Number of elements in the following array.
Items Array of Slot Any item in this array may be used for the recipe. The count of each item should be 1.

Serverbound

Update Sign

This message is sent from the client to the server when the “Done” button is pushed after placing a sign.

The server only accepts this packet after Open Sign Editor, otherwise this packet is silently ignored.

Packet ID State Bound To Field Name Field Type Notes
0x2E Play Server Location Position Block Coordinates.
Is Front Text Boolean Whether the updated text is in front or on the back of the sign
Line 1 String (384) First line of text in the sign.
Line 2 String (384) Second line of text in the sign.
Line 3 String (384) Third line of text in the sign.
Line 4 String (384) Fourth line of text in the sign.

Status

Clientbound

No changes so far.

Serverbound

No changes so far.

Login

Clientbound

No changes so far.

Serverbound

No changes so far.