chunkedge_protocol/packets/play/
sound_s2c.rs

1use chunkedge_binary::{Decode, Encode};
2use chunkedge_math::IVec3;
3
4use crate::sound::{SoundCategory, SoundId};
5use crate::Packet;
6
7#[derive(Clone, Debug, Encode, Decode, Packet)]
8pub struct SoundS2c {
9    pub id: SoundId,
10    pub category: SoundCategory,
11    pub position: IVec3,
12    pub volume: f32,
13    pub pitch: f32,
14    pub seed: i64,
15}