Difference between revisions of "Pre-release protocol"
(Removed outdated info) Tag: Replaced |
(Updated packets for 23w12a) |
||
Line 13: | Line 13: | ||
=== Packets === | === Packets === | ||
− | + | {| class="wikitable" | |
+ | ! ID | ||
+ | ! Packet name | ||
+ | !colspan="2"| Documentation | ||
+ | |- | ||
+ | !colspan="4"| Play clientbound | ||
+ | {{PacketList|0x31|Open Sign Editor}} | ||
+ | |- | ||
+ | !colspan="4"| Play serverbound | ||
+ | {{PacketList|0x2E|Update Sign}} | ||
+ | |} | ||
== New/modified data types == | == New/modified data types == | ||
Line 43: | Line 53: | ||
=== Clientbound === | === Clientbound === | ||
− | + | ==== Open Sign Editor ==== | |
+ | |||
+ | 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" | ||
+ | ! Packet ID | ||
+ | ! State | ||
+ | ! Bound To | ||
+ | ! Field Name | ||
+ | ! Field Type | ||
+ | ! Notes | ||
+ | |- | ||
+ | | rowspan="2" | 0x31 | ||
+ | | rowspan="2" | Play | ||
+ | | rowspan="2" | Client | ||
+ | | Location | ||
+ | | Position | ||
+ | | | ||
+ | |- {{added}} | ||
+ | | Is Front Text | ||
+ | | Boolean | ||
+ | | Whether the opened editor is for the front or on the back of the sign | ||
+ | |} | ||
=== Serverbound === | === 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|Open Sign Editor]], otherwise this packet is silently ignored. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Packet ID | ||
+ | ! State | ||
+ | ! Bound To | ||
+ | ! Field Name | ||
+ | ! Field Type | ||
+ | ! Notes | ||
+ | |- | ||
+ | | rowspan="6"| 0x2E | ||
+ | | rowspan="6"| Play | ||
+ | | rowspan="6"| Server | ||
+ | | Location | ||
+ | | Position | ||
+ | | 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. | ||
+ | |} | ||
== Status == | == Status == |
Revision as of 01:02, 23 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 23w12a, protocol Snapshot 127). 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 |
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 |
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.