Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(Reset page)
 
Line 1: Line 1:
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently 1.4.2) to the current pre-release (or weekly release).
+
There are currently no pre-release versions available to document on this page. For the latest stable Minecraft release, see the [[Protocol|Protocol]] page. For previous pre-release pages, see the [[Protocol version numbers|Protocol version numbers]] page.
  
== New Packets ==
+
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.
-None-
 
  
== Changed Packets ==
+
== Contents ==
  
=== Item Data (0x83) ===
+
<div style="float:right;">__TOC__</div>
  
''Server to Client''
+
=== Data types ===
  
Sent to specify complex data on an item; currently used only for maps.
+
No changes so far.
  
{| class="wikitable"
+
=== Packets ===
|- class="row0"
 
| class="col0" | Packet ID
 
| class="col1" | Field Name
 
| class="col2" | Field Type
 
| class="col3" | Example
 
| class="col4" | Notes
 
|- class="row1"
 
| class="col0 centeralign" rowspan="4" | 0x83
 
| class="col1 centeralign" | Item Type
 
| class="col2 centeralign" | short
 
| class="col3 centeralign" | <code>358</code>
 
| class="col4" | Type of item being modified
 
|- class="row2"
 
| class="col0 centeralign" | Item ID
 
| class="col1 centeralign" | short
 
| class="col2 centeralign" | <code>0</code>
 
| class="col3" | The ID (damage value) of the item being modified
 
|- class="row3"
 
| class="col0 centeralign" | Text length
 
| class="col1 centeralign" | short
 
| class="col2 centeralign" | <code>35</code>
 
| class="col3" | Length of following byte array
 
|- class="row4"
 
| class="col0 centeralign" | Text
 
| class="col1 centeralign" | byte array
 
| class="col2 centeralign" | {0,0,0,20,20,20,20,20}
 
| class="col3" | ASCII text.
 
|- class="row9"
 
| class="col0" | Total Size:
 
| class="col1 rightalign" colspan="4" | 7 bytes + Text length
 
|}
 
  
'''Maps'''
+
No changes so far.
If the first byte of the text is 0, the next two bytes are X start and Y start and the rest of the bytes are the colors in that column.
 
  
If the first byte of the text is 1, the rest of the bytes are in groups of three: (data, x, y). The lower half of the data is the type (always 0 under vanilla) and the upper half is the direction.
+
[[Category:Minecraft Modern]]
 
 
== Changed Data Types ==
 
 
 
Entity Metadata has an additional field for Slot data types. It now has a short (-1) at the end if there is no further data, or that short is the length
 
of the following NBT array, presumably gzipped NBT data.
 
 
 
== Removed Packets ==
 
-None-
 
 
 
== Protocol History ==
 
 
 
'''1.4.4'''
 
 
 
Protocol version is now 49. Packet 0x83 updated.
 
 
 
'''1.4.3 Pre-release'''
 
 
 
Protocol version is now 48. Entity metadata updated.
 

Latest revision as of 16:42, 29 June 2024

There are currently no pre-release versions available to document on this page. For the latest stable Minecraft release, see the Protocol page. For previous pre-release pages, see the Protocol version numbers page.

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

No changes so far.