Four packets changed:
0x0F player block placement
0x66 window click
0x67 set slot
0x68 window items
0x6B Create Inventory
This change affects the "slot" datatype. This type consists of at least a short (item_id). If this id isn't -1, a byte (count) and a short (uses) follow.
From 1.9pre2 onward, additional data is sent but only for https://gist.github.com/1268479 This means the protocol is no longer context free.
The additional data is at least a short. If this short isn't -1, a byte[] array follows, containing gzipped NBT data
The format of the NBT is as follows
COMPOUND
LIST: 'ench'
SHORT: 'id'
SHORT: 'lvl'
END
END
Four packets changed: 0x0F player block placement 0x66 window click 0x67 set slot 0x68 window items 0x6B Create Inventory
This change affects the "slot" datatype. This type consists of at least a short (item_id). If this id isn't -1, a byte (count) and a short (uses) follow.
From 1.9pre2 onward, additional data is sent but only for https://gist.github.com/1268479 This means the protocol is no longer context free.
The additional data is at least a short. If this short isn't -1, a byte[] array follows, containing gzipped NBT data
The format of the NBT is as follows COMPOUND LIST: 'ench' SHORT: 'id' SHORT: 'lvl' END END