Difference between revisions of "Pre-release protocol"
Jump to navigation
Jump to search
(Update) |
Thinkofdeath (talk | contribs) (13w36a update) |
||
Line 3: | Line 3: | ||
== Protocol History == | == Protocol History == | ||
− | + | 13w36a - Added sound category byte to 0x3E | |
== Protocol Version == | == Protocol Version == | ||
− | + | 75 | |
== New Packets == | == New Packets == | ||
Line 12: | Line 12: | ||
== Changed Packets == | == Changed Packets == | ||
− | + | === Named Sound Effect (0x3E) === | |
+ | ''Server to client'' | ||
+ | |||
+ | Used to play a sound effect on the client. | ||
+ | |||
+ | All known sound effect names can be seen [https://github.com/SirCmpwn/Craft.Net/blob/master/source/Craft.Net.Common/SoundEffect.cs here]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | | Packet ID | ||
+ | | Field Name | ||
+ | | Field Type | ||
+ | | Example | ||
+ | | Notes | ||
+ | |- | ||
+ | | rowspan="7" | 0x3E | ||
+ | | Sound name | ||
+ | | string | ||
+ | | step.grass | ||
+ | | 250 | ||
+ | |- | ||
+ | | Effect position X | ||
+ | | int | ||
+ | | 250 | ||
+ | | effect X multiplied by 8 | ||
+ | |- | ||
+ | | Effect position Y | ||
+ | | int | ||
+ | | 250 | ||
+ | | effect Y multiplied by 8 | ||
+ | |- | ||
+ | | Effect position Z | ||
+ | | int | ||
+ | | 250 | ||
+ | | effect Z multiplied by 8 | ||
+ | |- | ||
+ | | Volume | ||
+ | | float | ||
+ | | 9 | ||
+ | | 1 is 100%, can be more | ||
+ | |- | ||
+ | | Pitch | ||
+ | | byte | ||
+ | | 1 | ||
+ | | 63 is 100%, can be more | ||
+ | |- | ||
+ | | Sound Category | ||
+ | | Unsigned byte | ||
+ | | 6 | ||
+ | | Possible values: | ||
+ | MASTER: 0 | ||
+ | |||
+ | MUSIC: 1 | ||
+ | |||
+ | RECORDS: 2 | ||
+ | |||
+ | WEATHER: 3 | ||
+ | |||
+ | BLOCKS: 4 | ||
+ | |||
+ | MOBS: 5 | ||
+ | |||
+ | ANIMALS: 6 | ||
+ | |||
+ | PLAYERS: 7 | ||
+ | |- | ||
+ | | Total Size: | ||
+ | | colspan="4" | 21 bytes + length of string | ||
+ | |} | ||
== Removed Packets == | == Removed Packets == |
Revision as of 21:05, 6 September 2013
This page documents the changes from the last stable Minecraft release (currently 1.6.2, protocol 74) to the current pre-release. Note that this page contains bleeding-edge information that may not be completely or correctly documented. He 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 occured to the respective packets there.
Contents
Protocol History
13w36a - Added sound category byte to 0x3E
Protocol Version
75
New Packets
None
Changed Packets
Named Sound Effect (0x3E)
Server to client
Used to play a sound effect on the client.
All known sound effect names can be seen here.
Packet ID | Field Name | Field Type | Example | Notes |
0x3E | Sound name | string | step.grass | 250 |
Effect position X | int | 250 | effect X multiplied by 8 | |
Effect position Y | int | 250 | effect Y multiplied by 8 | |
Effect position Z | int | 250 | effect Z multiplied by 8 | |
Volume | float | 9 | 1 is 100%, can be more | |
Pitch | byte | 1 | 63 is 100%, can be more | |
Sound Category | Unsigned byte | 6 | Possible values:
MASTER: 0 MUSIC: 1 RECORDS: 2 WEATHER: 3 BLOCKS: 4 MOBS: 5 ANIMALS: 6 PLAYERS: 7 | |
Total Size: | 21 bytes + length of string |
Removed Packets
None
Changed Data Types
None