← Packet index

Packet 123

LevelSoundEventPacket

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.

Packet datagramWire order
HeaderID 123varuint
0Sound EventSoundEventIdentifier · variable
1PositionVec3 · variable
2Datavarint32 · variable (up to 5 bytes)
3Actor Identifierstring · variable
4Is Babyboolean · 1 byte
5Is Globalboolean · 1 byte
6Actor Unique Idint64 · 8 bytes
7Fire At PositionVec3 · variable

Serialized fields

8 top-level fields
  1. 1PositionVec3
  2. 2DataCompressionvarint32
  3. 3Actor Identifierstring
  4. 4Is Babyboolean
  5. 5Is Globalboolean
  6. 6Actor Unique Idint64
  7. 7Fire At PositionVec3

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.