yog_event/entity/game.rs
1//! Entities living in the game.
2
3use yog_data::Schema;
4
5/// A tick of an entity of a mod's type (one with `ticks`); keyed by its
6/// type — handlers hear only their own type's.
7#[derive(Debug, Clone, Schema)]
8pub struct Tick {
9 /// The entity's type (`mymod:golem`).
10 pub entity_type: String,
11 pub uuid: String,
12}