← Type index

SetVolume

Object datagramWire order
0Typeuint8 · 1 byte
1Volumefloat · 4 bytes

Fields

2 top-level fields
  1. 0TypeEnum-as-ValueSoundDataEventTypeas uint8
    1. 0Stop
    2. 1SetVolume
    3. 2SetPitch
    4. 3Fade
    5. 4SeekTo
    6. 5Pause
    7. 6Resume
  2. 1VolumeThe new volume for the sound instance.float

Packet references

1 reference
  1. ClientboundUpdateSoundDataPacket
    Event › SetVolume › SetVolume

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.