Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(Add new metadata fields)
(→‎New/modified data types: Include older metadata in tables)
Line 33: Line 33:
 
Extends [[Entities#Entity|Entity]].
 
Extends [[Entities#Entity|Entity]].
  
{| class="wikitable" style="background-color: #d9ead3;"
+
{| class="wikitable"
 
  ! Index
 
  ! Index
 
  ! Type
 
  ! Type
 
  !style="width: 250px;" colspan="2"| Meaning
 
  !style="width: 250px;" colspan="2"| Meaning
 
  |-
 
  |-
  | 7
+
  | 6
  | VarInt
+
| [[Slot]]
  | Unknown
+
|colspan="2"| Firework info
 +
|-
 +
|style="background-color: #d9ead3;"| 7
 +
  |style="background-color: #d9ead3;"| VarInt
 +
  |colspan="2" style="background-color: #d9ead3;"| Unknown
 
  |}
 
  |}
  
Line 47: Line 51:
 
Extends [[Entities#Animal|Animal]].
 
Extends [[Entities#Animal|Animal]].
  
{| class="wikitable" style="background-color: #d9ead3;"
+
{| class="wikitable"
 
  ! Index
 
  ! Index
 
  ! Type
 
  ! Type
 
  !style="width: 250px;" colspan="2"| Meaning
 
  !style="width: 250px;" colspan="2"| Meaning
 
  |-
 
  |-
  | 14
+
  | 13
  | VarInt
+
| Boolean
  | Unknown
+
|colspan="2"| Has saddle
 +
|-
 +
|style="background-color: #d9ead3;"| 14
 +
  |style="background-color: #d9ead3;"| VarInt
 +
  |colspan="2" style="background-color: #d9ead3;"| Unknown
 
  |}
 
  |}
 
  
 
== Block Actions ==
 
== Block Actions ==

Revision as of 23:06, 16 December 2016

This page documents the changes from the last stable Minecraft release (currently 1.11, protocol 315) to the current pre-release (currently 16w50, protocol 316). 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

No changes so far.

ID Packet name Documentation
Handshaking serverbound
0x00 Handshake Current Pre

New/modified data types

Entity Metadata

Fireworks

Extends Entity.

Index Type Meaning
6 Slot Firework info
7 VarInt Unknown

Pig

Extends Animal.

Index Type Meaning
13 Boolean Has saddle
14 VarInt Unknown

Block Actions

No changes 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 315 316)
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

Status

Clientbound

No changes so far.

Serverbound

No changes so far.

Login

Clientbound

No changes so far.

Serverbound

No changes so far.