azalea_core/
sound.rs

1use azalea_buf::AzBuf;
2use serde::Serialize;
3
4use crate::resource_location::ResourceLocation;
5
6#[derive(Clone, Debug, PartialEq, AzBuf, Serialize)]
7pub struct CustomSound {
8    pub location: ResourceLocation,
9    pub fixed_range: Option<f32>,
10}