azalea_client/
lib.rs

1//! Significantly abstract [`azalea_protocol`] so it's actually useable for
2//! real clients. If you want to make bots, you should use the
3//! [`azalea`] crate instead.
4//!
5//! [`azalea_protocol`]: https://docs.rs/azalea-protocol
6//! [`azalea`]: https://docs.rs/azalea
7
8#![feature(error_generic_member_access)]
9#![feature(never_type)]
10
11mod account;
12mod client;
13mod entity_query;
14mod local_player;
15pub mod ping;
16mod player;
17mod plugins;
18
19#[doc(hidden)]
20pub mod test_simulation;
21
22pub use account::{Account, AccountOpts};
23pub use azalea_protocol::common::client_information::ClientInformation;
24// Re-export bevy-tasks so plugins can make sure that they're using the same
25// version.
26pub use bevy_tasks;
27pub use client::{
28    Client, InConfigState, InGameState, JoinError, JoinedClientBundle, LocalPlayerBundle,
29    StartClientOpts, start_ecs_runner,
30};
31pub use events::Event;
32pub use local_player::{GameProfileComponent, Hunger, InstanceHolder, TabList};
33pub use movement::{
34    PhysicsState, SprintDirection, StartSprintEvent, StartWalkEvent, WalkDirection,
35};
36pub use player::PlayerInfo;
37pub use plugins::*;