Skip to main content

yog_event/
lib.rs

1//! The bus's vocabulary: the events Minecraft fires (through the Java
2//! host), by plane — `player::session::Join`, `block::Break`,
3//! `server::game::Tick` … — and the services someone provides
4//! (`block::Insert`), each a message with its address and its payload's
5//! schema.
6//!
7//! Subscribing and providing (`Registry::on`/`provide`…) live in the
8//! `yog-api` facade.
9
10#[macro_use]
11mod message;
12mod address;
13mod arg;
14mod call;
15mod event;
16mod handles;
17pub mod java;
18mod phase;
19mod service;
20#[cfg(test)]
21mod tests;
22
23pub mod advancement;
24pub mod block;
25pub mod bossbar;
26pub mod bus;
27pub mod chat;
28pub mod client;
29pub mod command;
30pub mod container;
31pub mod content;
32pub mod entity;
33pub mod game;
34pub mod item;
35pub mod jvm;
36pub mod key_binding;
37pub mod log;
38pub mod menu;
39pub mod mirror;
40pub mod nanite;
41pub mod net;
42pub mod particle;
43pub mod player;
44pub mod scoreboard;
45pub mod server;
46pub mod sound;
47pub mod tag;
48pub mod ui;
49pub mod world;
50
51pub use address::{Address, Cached, NO_ADDRESS, resolve};
52pub use arg::Arg;
53pub use call::{Caller, call, set_caller};
54pub use event::{Event, EventInfo, all};
55pub use handles::{Entity, Player, World};
56pub use message::{Message, keyed};
57pub use phase::EventPhase;
58pub use service::{Service, ServiceInfo, services};
59pub use yog_core::Point;