OverviewPacketsLevelSoundEvent
ID 0x7B · 123BothAudio
LevelSoundEvent
Sound playback with position, block/item runtime ids, entity type strings and per-sound extra data.
level-sound-event.bin
struct LevelSoundEvent {
string SoundEvent;
Vec3 Pos;
varint32 Data;
string ActorIdentifier;
bool IsBaby;
bool IsGlobal;
int64 (LE) Actor;
optional byte + Vec3 FireAtPosition;
}Structure
| Field | Type | Description |
|---|---|---|
| Sound Event | string | |
| Pos | Vec3 | |
| Data | varint32 | |
| Actor Identifier | string | |
| Is Baby | bool | |
| Is Global | bool | |
| Actor | int64 (LE) | |
| Fire At Position | optional byte + Vec3 | Presence flag on the wire; value omitted when absent. |
Structure of Vec3
| Field | Type | Description |
|---|---|---|
| X | float32 (LE) | |
| Y | float32 (LE) | |
| Z | float32 (LE) |
Notes
- Both sides send it: the client pre-plays sounds locally and the server rebroadcasts to suppress duplicates.
