use yog_data::Schema;
#[derive(Debug, Clone, Schema)]
pub struct Move {
pub player_name: String,
pub player_uuid: String,
pub x: f64,
pub y: f64,
pub z: f64,
pub yaw: f32,
pub pitch: f32,
pub dimension: String,
}
#[derive(Debug, Clone, Schema)]
pub struct UseItem {
pub player_name: String,
pub item_id: String,
pub sneaking: bool,
pub dimension: String,
}
#[derive(Debug, Clone, Schema)]
pub struct Attack {
pub player_name: String,
pub target_type: String,
pub target_uuid: String,
pub dimension: String,
}
#[derive(Debug, Clone, Schema)]
pub struct Interact {
pub player_name: String,
pub player_uuid: String,
pub entity_type: String,
pub entity_uuid: String,
pub hand: String,
pub dimension: String,
}
#[derive(Debug, Clone, Schema)]
pub struct Craft {
pub player_name: String,
pub player_uuid: String,
pub result_item: String,
pub result_count: u32,
pub dimension: String,
}
#[derive(Debug, Clone, Schema)]
pub struct Pickup {
pub player_name: String,
pub player_uuid: String,
pub item_id: String,
pub item_count: u32,
pub entity_uuid: String,
pub dimension: String,
}