Difference between revisions of "Pre-release protocol"
(→Data types: Added change to Chat type) |
m (Formatting) |
||
Line 21: | Line 21: | ||
|- | |- | ||
! id=Definitions:chat | [[#Definitions:chat|Chat]] | ! id=Definitions:chat | [[#Definitions:chat|Chat]] | ||
− | | {{change|≥ 1 <br />≤ (262144×4) + 3|Varies}} | + | | {{change|≥ 1 <br />≤ (262144×4) + 3}} |
+ | {{change||Varies}} | ||
| See [[Chat]] | | See [[Chat]] | ||
− | | {{change|Encoded as a String with max length of 262144.|Encoded as a [[NBT|NBT Tag]], with varying type depending on the case: | + | | {{change|Encoded as a String with max length of 262144.}} |
− | * As a [[NBT#Specification|String Tag]]: For raw components that contain only text and no other fields (styling, events etc.). | + | {{change||Encoded as a [[NBT|NBT Tag]], with varying type depending on the case:}} |
− | * As a [[NBT#Specification|Compound Tag]]: Every other case.}} | + | * {{change||As a [[NBT#Specification|String Tag]]: For raw components that contain only text and no other fields (styling, events etc.).}} |
+ | * {{change||As a [[NBT#Specification|Compound Tag]]: Every other case.}} | ||
|} | |} | ||
Revision as of 00:48, 5 October 2023
This page documents the changes from the last stable Minecraft release (currently 1.20.2, protocol 764) to the current pre-release (currently 23w40a, protocol Snapshot 154). 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
Chat
The Chat type is now serialized as a NBT Tag instead of a JSON String.
Name | Size (bytes) | Encodes | Notes |
---|---|---|---|
Chat | ≤ (262144×4) + 3 Varies |
See Chat | Encoded as a NBT Tag, with varying type depending on the case:
|
Packets
No changes so far.
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.
Status
Clientbound
No changes so far.
Serverbound
No changes so far.
Login
Clientbound
No changes so far.
Serverbound
No changes so far.
Configuration
Clientbound
No changes so far.
Serverbound
No changes so far.
Play
Clientbound
No changes so far.
Serverbound
No changes so far.