chunkedge_protocol/packets/play/
sound_entity_s2c.rs

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