Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(I guess this should be cleared out mostly since Protocol is up-to-date? I left behind a few commented-out things that likely will be needed in the future.)
(Layout for 1.9.3-pre2)
Line 1: Line 1:
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently [[Protocol version numbers|1.9.2, protocol 109]]) to the current pre-release (currently [[Protocol version numbers|1.9.2, protocol 109]]). Note that this page contains bleeding-edge information that may not be completely or correctly documented.
+
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently [[Protocol version numbers|1.9.2, protocol 109]]) to the current pre-release (currently [[Protocol version numbers|1.9.3-pre2, protocol 110]]). 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.
 
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.
Line 13: Line 13:
 
=== Packets ===
 
=== Packets ===
  
No changes so far.
+
{| class="wikitable"
 
 
<!-- {| class="wikitable"
 
 
  ! ID
 
  ! ID
 
  ! Packet name
 
  ! Packet name
Line 24: Line 22:
 
  |-
 
  |-
 
  !colspan="4"| Play clientbound
 
  !colspan="4"| Play clientbound
{{PacketList|0x23|Join Game}}
+
{{PacketList|0x09|Update Block Entity}}
  |} -->
+
{{PacketList|0x20|Chunk data}}
 +
{{PacketList|0x46|Update Sign (clientbound)|pre=removed}}
 +
{{PacketList|{{Change|0x47|0x46}}|Sound Effect|pre=unchanged}}
 +
{{PacketList|{{Change|0x48|0x47}}|Player List Header And Footer|pre=unchanged}}
 +
{{PacketList|{{Change|0x49|0x48}}|Collect Item|pre=unchanged}}
 +
{{PacketList|{{Change|0x4A|0x49}}|Entity Teleport|pre=unchanged}}
 +
{{PacketList|{{Change|0x4B|0x4A}}|Entity Properties|pre=unchanged}}
 +
{{PacketList|{{Change|0x4C|0x4B}}|Entity effect|pre=unchanged}}
 +
  |}
  
 
== New/modified data types ==
 
== New/modified data types ==
Line 41: Line 47:
 
No changes so far.
 
No changes so far.
  
<!-- ==== Handshake ====
+
==== Handshake ====
  
 
This causes the server to switch into the target state.
 
This causes the server to switch into the target state.
Line 58: Line 64:
 
  | Protocol Version
 
  | Protocol Version
 
  | VarInt
 
  | VarInt
  | See [[protocol version numbers]] (currently {{Change|109|110}})
+
  | See [[protocol version numbers]] (currently {{change|109|110}})
 
  |-
 
  |-
 
  | Server Address
 
  | Server Address
 
  | String
 
  | String
  | hostname or IP, e.g. localhost or 127.0.0.1 (does this support IPv6?)
+
  | Hostname or IP, e.g. localhost or 127.0.0.1, that was used to connect.  The Notchian server does not use this information.
 
  |-  
 
  |-  
 
  | Server Port
 
  | Server Port
 
  | Unsigned Short
 
  | Unsigned Short
  | default is 25565
+
  | Default is 25565.  The Notchian server does not use this information.
 
  |-
 
  |-
 
  | Next State
 
  | Next State
 
  | VarInt Enum
 
  | VarInt Enum
 
  | 1 for [[#Status|status]], 2 for [[#Login|login]]
 
  | 1 for [[#Status|status]], 2 for [[#Login|login]]
  |} -->
+
  |}
 +
 
  
 
== Play ==
 
== Play ==
Line 77: Line 84:
 
=== Clientbound ===
 
=== Clientbound ===
  
No changes so far.
+
TODO
  
 
=== Serverbound ===
 
=== Serverbound ===

Revision as of 20:56, 27 April 2016

This page documents the changes from the last stable Minecraft release (currently 1.9.2, protocol 109) to the current pre-release (currently 1.9.3-pre2, protocol 110). 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.

Contents

Data types

No changes so far.

Packets

ID Packet name Documentation
Handshaking serverbound
0x00 Handshake Current Pre
Play clientbound
0x09 Update Block Entity Current Pre
0x20 Chunk data Current Pre
0x46 Update Sign (clientbound) Current
0x47 0x46 Sound Effect Current (unchanged)
0x48 0x47 Player List Header And Footer Current (unchanged)
0x49 0x48 Collect Item Current (unchanged)
0x4A 0x49 Entity Teleport Current (unchanged)
0x4B 0x4A Entity Properties Current (unchanged)
0x4C 0x4B Entity effect Current (unchanged)

New/modified data types

None so far.

Handshaking

Clientbound

No changes so far.

Serverbound

No changes so far.

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 109 110)
Server Address String Hostname or IP, e.g. localhost or 127.0.0.1, that was used to connect. The Notchian server does not use this information.
Server Port Unsigned Short Default is 25565. The Notchian server does not use this information.
Next State VarInt Enum 1 for status, 2 for login


Play

Clientbound

TODO

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.