Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(map data packet changes in 20w46a)
(Updated to 1.21-pre2)
 
(189 intermediate revisions by 25 users not shown)
Line 1: Line 1:
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently [[Protocol version numbers|1.16.4, protocol 754]]) to the current pre-release (currently [[Protocol version numbers|20w46a, protocol 1073741830]]). 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.20.6, protocol 766]]) to the current pre-release (currently [[Protocol version numbers|1.21-pre2, protocol {{Snapshot PVN|1073742024}}]]). 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 ===
  
No changes so far.
+
No changes documented so far.
  
 
=== Packets ===
 
=== Packets ===
Line 18: Line 18:
 
  !colspan="2"| Documentation
 
  !colspan="2"| Documentation
 
  |-
 
  |-
!colspan="4"| Play serverbound
+
!colspan="4"| Configuration clientbound
{{PacketList|0x20|Chunk Data}}
+
{{PacketList|0x0F|Clientbound Report Details (configuration)|rel=added}}
{{PacketList|0x23|Update Light}}
+
{{PacketList|0x10|Clientbound Server Links (configuration)|rel=added}}
{{PacketList|0x25|Map Data}}
 
{{PacketList|0x38|Resource Pack Send}}
 
 
  |-
 
  |-
!colspan="4"| Handshaking serverbound
+
!colspan="4"| Play clientbound
{{PacketList|0x00|Handshake}}
+
{{PacketList|0x7A|Clientbound Report Details (play)|rel=added}}
  |}
+
  {{PacketList|0x7B|Clientbound Server Links (play)|rel=added}}
 +
|-
 +
|}
  
== New/modified data types ==
+
== Handshake ==
  
 
No changes so far.
 
No changes so far.
  
== Entity Metadata ==
+
== Status ==
 
 
{{#vardefine:meta_prerelease|1}}
 
Changes unknown.
 
 
 
== Block Actions ==
 
  
 
No changes so far.
 
No changes so far.
  
== Inventories ==
+
== Login ==
  
 
No changes so far.
 
No changes so far.
  
== Plugin Channels ==
+
== Configuration ==
 
 
No changes so far.
 
 
 
== Play ==
 
  
 
=== Clientbound ===
 
=== Clientbound ===
  
==== Chunk Data ====
+
==== Clientbound Report Details (configuration) ====
{{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)}}
+
Contains a list of key-value text entries that are included in any crash or disconnection report generated during connection to the server.
  
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).
+
{| class="wikitable" {{added}}
 
 
{| class="wikitable"
 
 
  ! Packet ID
 
  ! Packet ID
 
  ! State
 
  ! State
 
  ! Bound To
 
  ! Bound To
  ! Field Name
+
  ! colspan="2"| Field Name
  ! Field Type
+
  ! colspan="2"| Field Type
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="11"| 0x20
+
  | rowspan="3"| 0x0F
  |rowspan="11"| Play
+
  | rowspan="3"| Configuration
  |rowspan="11"| Client
+
  | rowspan="3"| Client
  | Chunk X
+
  | colspan="2"| Details Count
  | Int
+
  | colspan="2"| {{Type|VarInt}} (32)
  | Chunk coordinate (block coordinate divided by 16, rounded down)
+
  | The number of details in the following array.
 
  |-
 
  |-
  | Chunk Z
+
  | rowspan="2"| Details
  | Int
+
  | Title
  | Chunk coordinate (block coordinate divided by 16, rounded down)
+
  | rowspan="2"| {{Type|Array}}
|- {{removed}}
+
  | {{Type|String}} (128)
  | Full chunk
+
  |
| Boolean
 
  | See [[Chunk Format#Full chunk|Chunk Format]]
 
 
  |-
 
  |-
  | Primary Bit Mask
+
  | Description
  | VarInt
+
  | {{Type|String}} (4096)
| Bitmask with bits 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 y=0 to y=15).
+
  |
|-
+
|}
| Heightmaps
 
| [[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 at 9 bits per entry totaling 36 longs). 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.
 
|-
 
| Biomes length
 
| Optional VarInt
 
| Size of the following array.  Not present if full chunk is false.
 
|-
 
  | Biomes
 
| Optional array of VarInt
 
| <s>1024 biome IDs, ordered by x then z then y, in 4&times;4&times;4 blocks.</s>Possibly something else.  Not present if full chunk is false.
 
|-
 
| Size
 
| VarInt
 
| Size of Data in bytes
 
|-
 
| Data
 
| Byte array
 
| See [[Chunk Format#Data structure|data structure]] in Chunk Format
 
|-
 
| Number of block entities
 
| VarInt
 
| Number of elements in the following array
 
|-
 
| Block entities
 
| 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.
 
|}
 
  
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.
+
==== Clientbound Server Links (configuration) ====
  
The compacted array format has been adjusted so that individual entries no longer span across multiple longs, affecting the main data array and heightmaps.
+
This packet contains a list of links that the Notchian client will display in the menu available from the pause menu. Link labels can be built-in or custom (i.e., any text).
  
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>
+
{| class="wikitable" {{added}}
 
 
<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>
 
<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>
 
 
 
 
 
 
 
==== Update Light ====
 
 
 
Updates light levels for a chunk.
 
 
 
{| class="wikitable"
 
 
  ! Packet ID
 
  ! Packet ID
 
  ! State
 
  ! State
 
  ! Bound To
 
  ! Bound To
  !colspan="2"| Field Name
+
  ! colspan="2"| Field Name
  !colspan="2"| Field Type
+
  ! colspan="2"| Field Type
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="11"| 0x23
+
  | rowspan="4"| 0x10
  |rowspan="11"| Play
+
  | rowspan="4"| Configuration
  |rowspan="11"| Client
+
  | rowspan="4"| Client
  |colspan="2"| Chunk X
+
  | colspan="2"| Links Count
  |colspan="2"| VarInt
+
  | colspan="2"| {{Type|VarInt}}
  | Chunk coordinate (block coordinate divided by 16, rounded down)
+
  | The number of links in the following array.
 
  |-
 
  |-
  |colspan="2"| Chunk Z
+
  | rowspan="3"| Links
  |colspan="2"| VarInt
+
  | Is built-in
  | Chunk coordinate (block coordinate divided by 16, rounded down)  
+
| rowspan="3"| {{Type|Array}}
 +
| {{Type|Boolean}}
 +
  | Determines if the following label is built-in (from enum) or custom (text component).
 
  |-
 
  |-
  |colspan="2"| Trust Edges
+
  | Label
  |colspan="2"| Boolean
+
  | {{Type|VarInt}} {{Type|Enum}} / {{Type|Text Component}}
  | If edges should be trusted for light updates.
+
  | See below.
 
  |-
 
  |-
  |colspan="2"| ? (Changes unknown)
+
  | URL
  |colspan="2"| {{change|VarInt|VarLong}}
+
| {{Type|String}}
  | ? (Changes unknown)
+
  | Valid URL.
 +
|}
 +
 
 +
 
 +
{| class="wikitable" {{added}}
 +
  ! ID
 +
! Name
 +
! Notes
 
  |-
 
  |-
  |colspan="2"| ? (Changes unknown)
+
  | 0
  |colspan="2"| {{change|VarInt|VarLong}}
+
  | Bug Report
  | ? (Changes unknown)
+
  | Displayed on connection error screen; included as a comment in the disconnection report.
 
  |-
 
  |-
  |colspan="2"| ? (Changes unknown)
+
  | 1
  |colspan="2"| {{change|VarInt|VarLong}}
+
  | Community Guidelines
  | ? (Changes unknown)
+
  |  
 
  |-
 
  |-
  |colspan="2"| ? (Changes unknown)
+
  | 2
  |colspan="2"| {{change|VarInt|VarLong}}
+
  | Support
  | ? (Changes unknown)
+
  |  
 
  |-
 
  |-
  |rowspan="2"| Sky Light arrays
+
  | 3
| Length
+
  | Status
|rowspan="2"| Array
+
  |  
  | VarInt
 
  | Length of the following array in bytes (always 2048)
 
 
  |-
 
  |-
  | Sky Light array
+
  | 4
  | Array of 2048 bytes
+
  | Feedback
  | 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.
+
  |  
 +
|-
 +
| 5
 +
| Community
 +
|
 +
|-
 +
| 6
 +
| Website
 +
  |
 +
|-
 +
| 7
 +
| Forums
 +
|
 +
|-
 +
| 8
 +
| News
 +
|
 
  |-
 
  |-
  |rowspan="2"| Block Light arrays
+
  | 9
| Length
+
  | Announcements
|rowspan="2"| Array
+
  |  
  | VarInt
 
  | Length of the following array in bytes (always 2048)
 
 
  |-
 
  |-
| 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.
 
 
  |}
 
  |}
  
 +
=== Serverbound ===
  
 +
No changes so far.
  
 +
== Play ==
  
==== Map Data ====
+
=== Clientbound ===
  
Updates a rectangular area on a {{Minecraft Wiki|map}} item.
+
==== Clientbound Report Details (play) ====
  
{| class="wikitable"
+
Contains a list of key-value text entries that are included in any crash or disconnection report generated during connection to the server.
 +
 
 +
{| class="wikitable" {{added}}
 
  ! Packet ID
 
  ! Packet ID
 
  ! State
 
  ! State
 
  ! Bound To
 
  ! Bound To
  !colspan="2"| Field Name
+
  ! colspan="2"| Field Name
  !colspan="2"| Field Type
+
  ! colspan="2"| Field Type
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="17"| 0x25
+
  | rowspan="3"| 0x7A
  |rowspan="17"| Play
+
  | rowspan="3"| Configuration
  |rowspan="17"| Client
+
  | rowspan="3"| Client
  |colspan="2"| Map ID
+
  | colspan="2"| Details Count
  |colspan="2"| VarInt
+
  | colspan="2"| {{Type|VarInt}} (32)
  | Map ID of the map being modified
+
  | The number of details in the following array.
 
  |-
 
  |-
  |colspan="2"| Scale
+
  | rowspan="2"| Details
  |colspan="2"| Byte
+
  | Title
| From 0 for a fully zoomed-in map (1 block per pixel) to 4 for a fully zoomed-out map (16 blocks per pixel)
+
  | rowspan="2"| {{Type|Array}}
  |- {{removed}}
+
  | {{Type|String}} (128)
|colspan="2"| Tracking Position
+
|
|colspan="2"| Boolean
 
| Specifies whether player and item frame icons are shown
 
|-
 
|colspan="2"| Locked
 
|colspan="2"| Boolean
 
| True if the map has been locked in a cartography table
 
|-
 
|- {{added}}
 
  |colspan="2"| Tracking Position
 
|colspan="2"| Boolean
 
| Specifies whether player and item frame icons are shown
 
|-
 
|colspan="2"| Icon Count
 
|colspan="2"| VarInt
 
| Number of elements in the following array. {{change||Only present if "Tracking Position" is true.}}
 
 
  |-
 
  |-
  |rowspan="6"| Icon
+
  | Description
  | Type
+
  | {{Type|String}} (4096)
|rowspan="6"| Array
 
| VarInt enum
 
| See below
 
|-
 
| X
 
| Byte
 
| Map coordinates: -128 for furthest left, +127 for furthest right
 
|-
 
| Z
 
| Byte
 
| Map coordinates: -128 for highest, +127 for lowest
 
|-
 
| Direction
 
| Byte
 
| 0-15
 
|-
 
| Has Display Name
 
| Boolean
 
 
  |
 
  |
 +
|}
 +
 +
==== Clientbound Server Links (play) ====
 +
 +
This packet contains a list of links that the Notchian client will display in the menu available from the pause menu. Link labels can be built-in or custom (i.e., any text).
 +
 +
{| class="wikitable" {{added}}
 +
! Packet ID
 +
! State
 +
! Bound To
 +
! colspan="2"| Field Name
 +
! colspan="2"| Field Type
 +
! Notes
 
  |-
 
  |-
  | Display Name
+
  | rowspan="4"| 0x7B
  | Optional [[Chat]]
+
  | rowspan="4"| Configuration
  | Only present if previous Boolean is true
+
  | rowspan="4"| Client
|-
+
  | colspan="2"| Links Count
  |colspan="2"| Columns
+
  | colspan="2"| {{Type|VarInt}}
  |colspan="2"| Unsigned Byte
+
  | The number of links in the following array.
  | Number of columns updated
 
 
  |-
 
  |-
  |colspan="2"| Rows
+
  | rowspan="3"| Links
  |colspan="2"| Optional Byte
+
  | Is built-in
  | Only if Columns is more than 0; number of rows updated
+
| rowspan="3"| {{Type|Array}}
 +
| {{Type|Boolean}}
 +
  | Determines if the following label is built-in (from enum) or custom (text component).
 
  |-
 
  |-
  |colspan="2"| X
+
  | Label
  |colspan="2"| Optional Byte
+
  | {{Type|VarInt}} {{Type|Enum}} / {{Type|Text Component}}
  | Only if Columns is more than 0; x offset of the westernmost column
+
  | See below.
 
  |-
 
  |-
  |colspan="2"| Z
+
  | URL
|colspan="2"| Optional Byte
+
  | {{Type|String}}
| Only if Columns is more than 0; z offset of the northernmost row
+
  | Valid URL.
|-
+
|}
  |colspan="2"| Length
 
|colspan="2"| Optional VarInt
 
| Only if Columns is more than 0; length of the following array
 
|-
 
|colspan="2"| Data
 
|colspan="2"| Optional Array of Unsigned Byte
 
| Only if Columns is more than 0; see {{Minecraft Wiki|Map item format}}
 
  |}
 
  
For icons, a direction of 0 is a vertical icon and increments by 22.5&deg; (360/16).
+
{| class="wikitable" {{added}}
 
+
  ! ID
Types are based off of rows and columns in <code>map_icons.png</code>:
+
  ! Name
 
+
  ! Notes
{| class="wikitable"
 
  |-
 
  ! Icon type
 
  ! Result
 
 
  |-
 
  |-
 
  | 0
 
  | 0
  | White arrow (players)
+
  | Bug Report
 +
| Displayed on connection error screen; included as a comment in the disconnection report.
 
  |-
 
  |-
 
  | 1
 
  | 1
  | Green arrow (item frames)
+
  | Community Guidelines
 +
|
 
  |-
 
  |-
 
  | 2
 
  | 2
  | Red arrow
+
  | Support
 +
|
 
  |-
 
  |-
 
  | 3
 
  | 3
  | Blue arrow
+
  | Status
 +
|
 
  |-
 
  |-
 
  | 4
 
  | 4
  | White cross
+
  | Feedback
 +
|
 
  |-
 
  |-
 
  | 5
 
  | 5
  | Red pointer
+
  | Community
 +
|
 
  |-
 
  |-
 
  | 6
 
  | 6
  | White circle (off-map players)
+
  | Website
 +
|
 
  |-
 
  |-
 
  | 7
 
  | 7
  | Small white circle (far-off-map players)
+
  | Forums
 +
|
 
  |-
 
  |-
 
  | 8
 
  | 8
  | Mansion
+
  | News
 +
|
 
  |-
 
  |-
 
  | 9
 
  | 9
  | Temple
+
  | Announcements
  |-
+
  |  
| 10
 
| White Banner
 
|-
 
| 11
 
| Orange Banner
 
 
  |-
 
  |-
| 12
 
| Magenta Banner
 
|-
 
| 13
 
| Light Blue Banner
 
|-
 
| 14
 
| Yellow Banner
 
|-
 
| 15
 
| Lime Banner
 
|-
 
| 16
 
| Pink Banner
 
|-
 
| 17
 
| Gray Banner
 
|-
 
| 18
 
| Light Gray Banner
 
|-
 
| 19
 
| Cyan Banner
 
|-
 
| 20
 
| Purple Banner
 
|-
 
| 21
 
| Blue Banner
 
|-
 
| 22
 
| Brown Banner
 
|-
 
| 23
 
| Green Banner
 
|-
 
| 24
 
| Red Banner
 
|-
 
| 25
 
| Black Banner
 
|-
 
| 26
 
| Treasure marker
 
|}
 
 
 
 
==== Resource Pack Send ====
 
 
{| class="wikitable"
 
! Packet ID
 
! State
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|rowspan="3"| 0x38
 
|rowspan="3"| Play
 
|rowspan="3"| Client
 
| URL
 
| String (32767)
 
| The URL to the resource pack.
 
|-
 
| Hash
 
| String (40)
 
| A 40 character hexadecimal and lowercase [[wikipedia:SHA-1|SHA-1]] hash of the resource pack file. (must be lower case in order to work)<br />If it's not a 40 character hexadecimal string, the client will not use it for hash verification and likely waste bandwidth — but it will still treat it as a unique id
 
|- {{Added}}
 
| Forced
 
| Boolean
 
| The notchian client will be forced to use the ressource pack from the server.
 
 
  |}
 
  |}
 
  
 
=== Serverbound ===
 
=== Serverbound ===
  
 
No changes so far.
 
No changes so far.
 
== Handshaking ==
 
 
=== Clientbound ===
 
 
There are no clientbound packets in the Handshaking state, since the protocol immediately switches to a different state after the client sends the first packet.
 
 
=== Serverbound ===
 
 
==== Handshake ====
 
 
This causes the server to switch into the target state.
 
 
{| class="wikitable"
 
! Packet ID
 
! State
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|rowspan="4"| 0x00
 
|rowspan="4"| Handshaking
 
|rowspan="4"| Server
 
| Protocol Version
 
| VarInt
 
| See [[protocol version numbers]] (currently {{changed|754|1073741830}})
 
|-
 
| Server Address
 
| String
 
| Hostname or IP, e.g. localhost or 127.0.0.1, that was used to connect. The Notchian server does not use this information. Note that SRV records are a complete redirect, e.g. if _minecraft._tcp.example.com points to mc.example.org, users connecting to example.com will provide mc.example.org as server address in addition to connecting to it.
 
|-
 
| Server Port
 
| Unsigned Short
 
| Default is 25565.  The Notchian server does not use this information.
 
|-
 
| Next State
 
| VarInt Enum
 
| 1 for [[#Status|status]], 2 for [[#Login|login]]
 
|}
 
 
== Status ==
 
 
=== Clientbound ===
 
 
No changes so far.
 
 
=== Serverbound ===
 
 
No changes so far.
 
 
== Login ==
 
 
=== Clientbound ===
 
 
No changes so far.
 
 
=== Serverbound ===
 
 
No changes so far.
 
 
  
 
[[Category:Minecraft Modern]]
 
[[Category:Minecraft Modern]]

Latest revision as of 10:40, 8 June 2024

This page documents the changes from the last stable Minecraft release (currently 1.20.6, protocol 766) to the current pre-release (currently 1.21-pre2, protocol Snapshot 200). 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 documented so far.

Packets

ID Packet name Documentation
Configuration clientbound
0x0F Clientbound Report Details (configuration) Pre
0x10 Clientbound Server Links (configuration) Pre
Play clientbound
0x7A Clientbound Report Details (play) Pre
0x7B Clientbound Server Links (play) Pre

Handshake

No changes so far.

Status

No changes so far.

Login

No changes so far.

Configuration

Clientbound

Clientbound Report Details (configuration)

Contains a list of key-value text entries that are included in any crash or disconnection report generated during connection to the server.

Packet ID State Bound To Field Name Field Type Notes
0x0F Configuration Client Details Count VarInt (32) The number of details in the following array.
Details Title Array String (128)
Description String (4096)

Clientbound Server Links (configuration)

This packet contains a list of links that the Notchian client will display in the menu available from the pause menu. Link labels can be built-in or custom (i.e., any text).

Packet ID State Bound To Field Name Field Type Notes
0x10 Configuration Client Links Count VarInt The number of links in the following array.
Links Is built-in Array Boolean Determines if the following label is built-in (from enum) or custom (text component).
Label VarInt Enum / Text Component See below.
URL String Valid URL.


ID Name Notes
0 Bug Report Displayed on connection error screen; included as a comment in the disconnection report.
1 Community Guidelines
2 Support
3 Status
4 Feedback
5 Community
6 Website
7 Forums
8 News
9 Announcements

Serverbound

No changes so far.

Play

Clientbound

Clientbound Report Details (play)

Contains a list of key-value text entries that are included in any crash or disconnection report generated during connection to the server.

Packet ID State Bound To Field Name Field Type Notes
0x7A Configuration Client Details Count VarInt (32) The number of details in the following array.
Details Title Array String (128)
Description String (4096)

Clientbound Server Links (play)

This packet contains a list of links that the Notchian client will display in the menu available from the pause menu. Link labels can be built-in or custom (i.e., any text).

Packet ID State Bound To Field Name Field Type Notes
0x7B Configuration Client Links Count VarInt The number of links in the following array.
Links Is built-in Array Boolean Determines if the following label is built-in (from enum) or custom (text component).
Label VarInt Enum / Text Component See below.
URL String Valid URL.
ID Name Notes
0 Bug Report Displayed on connection error screen; included as a comment in the disconnection report.
1 Community Guidelines
2 Support
3 Status
4 Feedback
5 Community
6 Website
7 Forums
8 News
9 Announcements

Serverbound

No changes so far.