Pre-release protocol

From wiki.vg
Revision as of 16:15, 29 April 2016 by imported>Pokechu22 (MC|StopSound)
Jump to navigation Jump to search

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 added Current }} removed unchanged | (unchanged) | Pre }} }}
Play clientbound
0x09 Update Block Entity added Current }} removed unchanged | (unchanged) | Pre }} }}
0x20 Chunk data added Current }} removed unchanged | (unchanged) | Pre }} }}
0x46 Update Sign (clientbound) added Current }} removed unchanged | (unchanged) | Pre }} }}
0x47}}{{#if:0x46|{{#if:0x47| }}0x46}} Sound Effect added Current }} removed unchanged | (unchanged) | Pre }} }}
0x48}}{{#if:0x47|{{#if:0x48| }}0x47}} Player List Header And Footer added Current }} removed unchanged | (unchanged) | Pre }} }}
0x49}}{{#if:0x48|{{#if:0x49| }}0x48}} Collect Item added Current }} removed unchanged | (unchanged) | Pre }} }}
0x4A}}{{#if:0x49|{{#if:0x4A| }}0x49}} Entity Teleport added Current }} removed unchanged | (unchanged) | Pre }} }}
0x4B}}{{#if:0x4A|{{#if:0x4B| }}0x4A}} Entity Properties added Current }} removed unchanged | (unchanged) | Pre }} }}
0x4C}}{{#if:0x4B|{{#if:0x4C| }}0x4B}} Entity effect added Current }} removed unchanged | (unchanged) | Pre }} }}

New/modified data types

None so far.

MC|StopSound plugin channel

Used to implement the /stopsound command. Stops a sound that is currently playing on the client.

Field name Field type Notes
Sound name String A sound effect name. If left empty, all sounds are stopped.
Sound category String Should be one of the sound categories used in Named Sound Effect, but if it's invalid or empty then it is (intentionally) treated as all sound categories.

Emptiness of sound category or sound name can be combined, IE a empty sound name but a set sound category will stop all sounds in the given category.

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 {{#if:109|109}}{{#if:110|{{#if: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.