Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
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).
+
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently 1.4.4, protocol 49) to the current pre-release (or weekly release).
  
 
== New Packets ==
 
== New Packets ==
Line 5: Line 5:
  
 
== Changed Packets ==
 
== Changed Packets ==
 
+
-None-
=== Item Data (0x83) ===
 
 
 
''Server to Client''
 
 
 
Sent to specify complex data on an item; currently used only for maps.
 
 
 
{| class="wikitable"
 
|- 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'''
 
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.
 
  
 
== Changed Data Types ==
 
== Changed Data Types ==
Line 59: Line 16:
  
 
== Protocol History ==
 
== Protocol History ==
 
+
-None-
'''1.4.4 Pre-release'''
 
 
 
Protocol version is now 49. Packet 0x83 updated.
 
 
 
'''1.4.3 Pre-release'''
 
 
 
Protocol version is now 48. Entity metadata updated.
 

Revision as of 18:52, 14 November 2012

This page documents the changes from the last stable Minecraft release (currently 1.4.4, protocol 49) to the current pre-release (or weekly release).

New Packets

-None-

Changed Packets

-None-

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

-None-