MCBE
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

FieldTypeDescription
Sound Eventstring
PosVec3
Datavarint32
Actor Identifierstring
Is Babybool
Is Globalbool
Actorint64 (LE)
Fire At Positionoptional byte + Vec3Presence flag on the wire; value omitted when absent.

Structure of Vec3

FieldTypeDescription
Xfloat32 (LE)
Yfloat32 (LE)
Zfloat32 (LE)

Notes

  • Both sides send it: the client pre-plays sounds locally and the server rebroadcasts to suppress duplicates.