use yog_data::Schema;
use yog_data::with::Raw;
#[derive(Debug, Clone, PartialEq, Schema)]
pub struct DataValue {
#[data(with = "Raw")]
pub bytes: Vec<u8>,
}
#[derive(Debug, Clone, Schema)]
pub struct Data {
pub uuid: String,
pub key: String,
}
#[derive(Debug, Clone, Schema)]
pub struct SetData {
pub uuid: String,
pub key: String,
pub value: Option<DataValue>,
pub persist: bool,
}
pub const VANILLA_SIZE: [f32; 3] = [-1.0, 0.0, 0.0];
#[derive(Debug, Clone, Schema)]
pub struct SetDimensions {
pub uuid: String,
pub size: Option<[f32; 3]>,
}
#[derive(Debug, Clone, PartialEq, Eq, Schema)]
pub struct Hanging {
pub facing: String,
pub width: u32,
pub height: u32,
pub item: String,
pub nbt: String,
}