aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/lib.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-11-12 23:54:05 -0600
committerGitHub <noreply@github.com>2022-11-12 23:54:05 -0600
commit6eee543a3367d38a6f0e9bffb457a2bd76a8f9cc (patch)
treea5e493ccd7ec24293b8d866242c3836146517122 /azalea-client/src/lib.rs
parentfa57d03627aa20b1df44caed7cb025b6db1d9b53 (diff)
downloadazalea-drasl-6eee543a3367d38a6f0e9bffb457a2bd76a8f9cc.tar.xz
Pathfinder (#25)
Pathfinding is very much not done, but it works enough and I want to get this merged. TODO: fast replanning, goals that aren't a single node, falling moves (it should be able to play the dropper), parkour moves
Diffstat (limited to 'azalea-client/src/lib.rs')
-rwxr-xr-xazalea-client/src/lib.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/azalea-client/src/lib.rs b/azalea-client/src/lib.rs
index 7a76e103..544ea0f4 100755
--- a/azalea-client/src/lib.rs
+++ b/azalea-client/src/lib.rs
@@ -5,6 +5,9 @@
//! [`azalea_protocol`]: https://crates.io/crates/azalea-protocol
//! [`azalea`]: https://crates.io/crates/azalea
+#![allow(incomplete_features)]
+#![feature(trait_upcasting)]
+
mod account;
mod chat;
mod client;
@@ -12,11 +15,13 @@ mod get_mc_dir;
mod movement;
pub mod ping;
mod player;
+mod plugins;
pub use account::Account;
pub use client::{ChatPacket, Client, ClientInformation, Event, JoinError};
-pub use movement::MoveDirection;
+pub use movement::{SprintDirection, WalkDirection};
pub use player::Player;
+pub use plugins::{Plugin, Plugins};
#[cfg(test)]
mod tests {