Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(version number is 49 according to people in IRC)
(→‎Serverbound: added Handshake packet with new protocol version number)
Line 19: Line 19:
 
=== Serverbound ===
 
=== Serverbound ===
  
No changes so far.
+
==== Handshake ====
 +
 
 +
This causes the server to switch into the target state.
 +
 
 +
{| class="wikitable"
 +
! Packet ID
 +
! State
 +
! Bound To
 +
! Field Name
 +
! Field Type
 +
! Notes
 +
|-
 +
|rowspan="4"| 0x00
 +
|rowspan="4"| Handshaking
 +
|rowspan="4"| Server
 +
| Protocol Version
 +
| VarInt
 +
| See [[protocol version numbers]] (currently {{Change|47|49}})
 +
|-
 +
| Server Address
 +
| String
 +
| hostname or IP, e.g. localhost or 127.0.0.1<!-- does this support IPv6? -->
 +
|-
 +
| Server Port
 +
| Unsigned Short
 +
| default is 25565
 +
|-
 +
| Next State
 +
| VarInt
 +
| 1 for [[#Status|status]], 2 for [[#Login|login]]
 +
|}
  
 
== Play ==
 
== Play ==

Revision as of 19:28, 29 July 2015

This page documents the changes from the last stable Minecraft release (currently 1.8.8, protocol 47) to the current pre-release (currently 15w31a, protocol 49). 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.

Protocol history

None so far.

New/modified data types

None so far.

Handshaking

Clientbound

No changes so far.

Serverbound

Handshake

This causes the server to switch into the target state.

Packet ID State Bound To Field Name Field Type Notes
0x00 Handshaking Server Protocol Version VarInt See protocol version numbers (currently 47 49)
Server Address String hostname or IP, e.g. localhost or 127.0.0.1
Server Port Unsigned Short default is 25565
Next State VarInt 1 for status, 2 for login

Play

Clientbound

No changes so far.

Serverbound

No changes so far.

Status

Clientbound

No changes so far.

Serverbound

No changes so far.

Login

Clientbound

No changes so far.

Serverbound

No changes so far.