← Back to Index
LevelSoundEventPacket (123)
Level Sound Event
Most sounds get launched on server and replicated to clients, but a handful of player initiated sounds are launched on their client and replicated through the network.
(In most of the codebase 'Event' means telemetry events; this is not the case here, this is how sounds get replicated across the network in vanilla.)
With support for custom entities. Entity Id is a string and Event Id is an integer.
| Field Name |
Type |
Field Index |
Description |
| Sound Event (Required) |
SoundEventIdentifier |
0 |
|
| Position (Required) |
Vec3 |
1 |
|
Vec3
| Field Name |
Type |
Field Index |
Description |
| X (Required) |
float |
0 |
|
| Y (Required) |
float |
1 |
|
| Z (Required) |
float |
2 |
|
|
| Data (Required) |
varint32 |
2 |
|
| Actor Identifier (Required) |
string |
3 |
|
| Is Baby (Required) |
boolean |
4 |
|
| Is Global (Required) |
boolean |
5 |
|
| Actor Unique Id (Required) |
int64 |
6 |
|
| Fire At Position (Required) |
Vec3 |
7 |
|
Vec3
| Field Name |
Type |
Field Index |
Description |
| X (Required) |
float |
0 |
|
| Y (Required) |
float |
1 |
|
| Z (Required) |
float |
2 |
|
|