1
2
3
4
5
6
7
8
9
10
11
12
13
14
use valence_math::IVec3;

use crate::sound::{SoundCategory, SoundId};
use crate::{Decode, Encode, Packet};

#[derive(Clone, Debug, Encode, Decode, Packet)]
pub struct PlaySoundS2c<'a> {
    pub id: SoundId<'a>,
    pub category: SoundCategory,
    pub position: IVec3,
    pub volume: f32,
    pub pitch: f32,
    pub seed: i64,
}