aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_sound_entity_packet.rs
blob: ad382fe0d89f707a1cd50df07e04b3f0f83c6d0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::clientbound_sound_packet::SoundSource;
use azalea_buf::McBuf;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundSoundEntityPacket {
    pub sound: azalea_registry::SoundEvent,
    pub source: SoundSource,
    #[var]
    pub id: u32,
    pub volume: f32,
    pub pitch: f32,
    pub seed: u64,
}