Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(1.9.1-pre3 is compatible with pre2)
(Switched to difference between 1.17.1 and 1.18 experimental snapshot 2)
Tag: Replaced
 
(847 intermediate revisions by 45 users not shown)
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.17.1, protocol 756]]) to the current pre-release (currently [[Protocol version numbers|1.18 experimental snapshot 2, protocol {{Snapshot PVN|1073741866}}]]). 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.
! ID
 
! Packet name
 
!colspan="2"| Documentation
 
|-
 
!colspan="4"| Handshaking serverbound
 
{{PacketList|0x00|Handshake}}
 
|-
 
!colspan="4"| Play clientbound
 
{{PacketList|0x23|Join Game}}
 
|}
 
  
 
== New/modified data types ==
 
== New/modified data types ==
  
None so far.
+
No changes so far.
 +
 
 +
== Entity Metadata ==
 +
 
 +
No changes so far.
 +
 
 +
=== Entity ===
  
== Handshaking ==
+
No changes so far.
  
=== Clientbound ===
+
== Block Actions ==
  
 
No changes so far.
 
No changes so far.
  
=== Serverbound ===
+
== Inventories ==
  
==== Handshake ====
+
No changes so far.
  
This causes the server to switch into the target state.
+
== Plugin Channels ==
  
{| class="wikitable"
+
No changes so far.
! 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|107|108}})
 
|-
 
| 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 Enum
 
| 1 for [[#Status|status]], 2 for [[#Login|login]]
 
|}
 
  
 
== Play ==
 
== Play ==
Line 73: Line 43:
 
=== 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 ===
Line 140: Line 68:
  
 
No changes so far.
 
No changes so far.
 +
 +
 +
[[Category:Minecraft Modern]]

Latest revision as of 22:32, 7 August 2021

This page documents the changes from the last stable Minecraft release (currently 1.17.1, protocol 756) to the current pre-release (currently 1.18 experimental snapshot 2, protocol Snapshot 42). 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

No changes so far.

Entity Metadata

No changes so far.

Entity

No changes so far.

Block Actions

No changes so far.

Inventories

No changes so far.

Plugin Channels

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.