aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/lib.rs
blob: da4d38840ce5248e1034480a6d0eb5d01669f819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#![doc = include_str!("../README.md")]
#![feature(error_generic_member_access)]

pub mod account;
mod client;
pub mod local_player;
pub mod ping;
pub mod player;
mod plugins;

#[cfg(feature = "log")]
#[doc(hidden)]
pub mod test_utils;

#[deprecated = "moved to `account::Account`."]
pub type Account = account::Account;

pub use azalea_physics::client_movement::{ClientMovementState, SprintDirection, WalkDirection};
#[deprecated = "renamed to `ClientMovementState`."]
pub type PhysicsState = ClientMovementState;

pub use azalea_protocol::common::client_information::ClientInformation;
// Re-export bevy-tasks so plugins can make sure that they're using the same
// version.
pub use bevy_tasks;
pub use client::{
    InConfigState, InGameState, JoinedClientBundle, LocalPlayerBundle, start_ecs_runner,
};
pub use movement::{StartSprintEvent, StartWalkEvent};
pub use plugins::*;