Difference between revisions of "Pre-release protocol"
(Layout for 1.9.3-pre2) |
(MC|StopSound) |
||
Line 36: | Line 36: | ||
None so far. | None so far. | ||
+ | |||
+ | == <code>MC|StopSound</code> plugin channel == | ||
+ | |||
+ | Used to implement {{Minecraft Wiki|Commands#StopSound|the <code>/stopsound</code> command}}. Stops a sound that is currently playing on the client. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Field name | ||
+ | ! Field type | ||
+ | ! Notes | ||
+ | |- | ||
+ | | Sound name | ||
+ | | String | ||
+ | | A [http://pokechu22.github.io/Burger/1.9.html#sounds sound effect name]. If left empty, ''all'' sounds are stopped. | ||
+ | |- | ||
+ | | Sound category | ||
+ | | String | ||
+ | | Should be one of the sound categories used in [[Protocol#Named Sound Effect|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 == | == Handshaking == |
Revision as of 16:15, 29 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 | |
Sound Effect | Current | (unchanged) | |
Player List Header And Footer | Current | (unchanged) | |
Collect Item | Current | (unchanged) | |
Entity Teleport | Current | (unchanged) | |
Entity Properties | Current | (unchanged) | |
Entity effect | Current | (unchanged) |
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 |
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.