yog-event 0.8.0

Yog event system — pub/sub for game/server events.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! What players achieve.

use yog_data::Schema;

/// Fired when a player earns an advancement (Post only).
#[derive(Debug, Clone, Schema)]
pub struct Advancement {
    pub player_name: String,
    pub uuid: String,
    /// Namespaced id of the advancement, e.g. `"minecraft:story/mine_stone"`.
    pub advancement_id: String,
    pub dimension: String,
}