Pre-release protocol

From wiki.vg
Revision as of 21:44, 21 January 2012 by Barneygale (talk | contribs) (Remove 1.1 pre-release stuff (already been merged into Protocol), new Mob Spawn byte (and byte in new packet) appears to be rotation, but not sure what of. Int in new packet is likely EID)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page documents the changes from the last stable Minecraft release (currently 1.1) to the current pre-release (currently 12w03a)

New packets

Unknown (0x23)

Packet ID Field Name Field Type Example Notes
0x23 Unknown int Likely to be Entity ID
Unknown byte Rotation of something...
Total Size: 6 bytes

Changed packets

Mob Spawn (0x18)

New byte field.

Packet ID Field Name Field Type Example Notes
0x18 EID int 446 Entity ID
Type byte 91 The type of mob. See Entities#Mobs
X int 13366 The Absolute Integer X Position of the object
Y int 2176 The Absolute Integer Y Position of the object
Z int 1680 The Absolute Integer Z Position of the object
Yaw byte -27 The X Axis rotation in steps of 2π/256
Pitch byte 0 The Y Axis rotation in steps of 2π/256
Unknown byte Rotation of something...
Metadata Metadata 127 Varies by mob, see Entities
Total Size: 21 bytes + Metadata (at least 1)


Other changes

Protocol version is now 24.

Protocol History

2012-01-19

  • 12w03a
  • Protocol version is now 24
  • New packet: 0x23
  • MobSpawn: new field, 1 byte inserted before metadata.