Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(1.9.1-pre3 is compatible with pre2)
(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.)
Line 1: Line 1:
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently [[Protocol version numbers|1.9, protocol 107]]) to the current pre-release (currently [[Protocol version numbers|1.9.1-pre3, protocol 108]]). 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.2, protocol 109]]). 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 ===
  
{| class="wikitable"
+
No changes so far.
 +
 
 +
<!-- {| class="wikitable"
 
  ! ID
 
  ! ID
 
  ! Packet name
 
  ! Packet name
Line 23: Line 25:
 
  !colspan="4"| Play clientbound
 
  !colspan="4"| Play clientbound
 
{{PacketList|0x23|Join Game}}
 
{{PacketList|0x23|Join Game}}
  |}
+
  |} -->
  
 
== New/modified data types ==
 
== New/modified data types ==
Line 37: Line 39:
 
=== Serverbound ===
 
=== Serverbound ===
  
==== Handshake ====
+
No changes so far.
 +
 
 +
<!-- ==== Handshake ====
  
 
This causes the server to switch into the target state.
 
This causes the server to switch into the target state.
Line 54: Line 58:
 
  | Protocol Version
 
  | Protocol Version
 
  | VarInt
 
  | VarInt
  | See [[protocol version numbers]] (currently {{Change|107|108}})
+
  | See [[protocol version numbers]] (currently {{Change|109|110}})
 
  |-
 
  |-
 
  | Server Address
 
  | Server Address
Line 67: Line 71:
 
  | VarInt Enum
 
  | VarInt Enum
 
  | 1 for [[#Status|status]], 2 for [[#Login|login]]
 
  | 1 for [[#Status|status]], 2 for [[#Login|login]]
  |}
+
  |} -->
  
 
== Play ==
 
== Play ==
Line 73: Line 77:
 
=== Clientbound ===
 
=== Clientbound ===
  
==== Join Game ====
+
No changes so far.
 
 
See [[Protocol Encryption]] for information on logging in.
 
 
 
{| class="wikitable"
 
! Packet ID
 
! State
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|rowspan="7"| 0x23
 
|rowspan="7"| Play
 
|rowspan="7"| Client
 
| Entity ID
 
| Int
 
| The player's Entity ID (EID)
 
|-
 
| Gamemode
 
| Unsigned Byte
 
| 0: Survival, 1: Creative, 2: Adventure, 3: Spectator. Bit 3 (0x8) is the hardcore flag.
 
|-
 
| Dimension
 
| {{Change|Byte|Int}} Enum
 
| -1: Nether, 0: Overworld, 1: End
 
|-
 
| Difficulty
 
| Unsigned Byte
 
| 0: peaceful, 1: easy, 2: normal, 3: hard
 
|-
 
| Max Players
 
| Unsigned Byte
 
| Used by the client to draw the player list
 
|-
 
| Level Type
 
| String
 
| default, flat, largeBiomes, amplified, default_1_1
 
|-
 
| Reduced Debug Info
 
| Boolean
 
| If true, a Notchian client shows reduced information on the {{Minecraft Wiki|debug screen}}.
 
|}
 
  
 
=== Serverbound ===
 
=== Serverbound ===

Revision as of 01:23, 2 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.2, protocol 109). 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.


New/modified data types

None so far.

Handshaking

Clientbound

No changes so far.

Serverbound

No changes so far.


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.