use bevy::{math::DVec3, prelude::Event};
use serde::{Deserialize, Serialize};
use fmc_protocol_derive::ClientBound;
#[derive(ClientBound, Event, Serialize, Deserialize, Debug, Clone, Default)]
pub struct Sound {
pub position: Option<DVec3>,
pub volume: f32,
pub speed: f32,
pub sound: String,
}
#[derive(ClientBound, Event, Serialize, Deserialize, Debug, Clone, Default)]
pub struct EnableClientAudio(pub bool);