diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-12-27 22:02:00 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-27 22:02:00 -0600 |
| commit | 9513f42e87f64c409cdb2a100500a50e5a713bac (patch) | |
| tree | bb6aa8b6d50fddf967bcb1f759e023754ea84e49 /azalea/src/lib.rs | |
| parent | 588902ba4a3965982bdd84d92b20c6f7613f3978 (diff) | |
| download | azalea-drasl-9513f42e87f64c409cdb2a100500a50e5a713bac.tar.xz | |
Move Client struct to azalea crate (#297)
* move the Client struct out of azalea-client into azalea
* actually add client impls in azalea
Diffstat (limited to 'azalea/src/lib.rs')
| -rw-r--r-- | azalea/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs index 0b656896..2105daee 100644 --- a/azalea/src/lib.rs +++ b/azalea/src/lib.rs @@ -6,12 +6,14 @@ pub mod auto_respawn; pub mod auto_tool; pub mod bot; mod builder; +mod client_impl; pub mod container; mod join_opts; pub mod nearest_entity; pub mod pathfinder; pub mod prelude; pub mod swarm; +pub mod tick_broadcast; pub use azalea_auth as auth; pub use azalea_block as block; @@ -49,6 +51,8 @@ pub use builder::ClientBuilder; use futures::future::BoxFuture; pub use join_opts::JoinOpts; +pub use crate::client_impl::Client; + pub type BoxHandleFn<S, R> = Box<dyn Fn(Client, azalea_client::Event, S) -> BoxFuture<'static, R> + Send>; pub type HandleFn<S, Fut> = fn(Client, azalea_client::Event, S) -> Fut; |
