aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/lib.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-03-30 10:02:22 +0600
committermat <git@matdoes.dev>2026-05-07 08:05:58 -1200
commit4af9762854aad30b7fdc40640618e465197f2148 (patch)
treeb3f00274ed277ed4a1fb6363b1f11e9f430c7535 /azalea-client/src/lib.rs
parentddef37118448b639ff56b86ae339e8913cb4ed11 (diff)
downloadazalea-drasl-4af9762854aad30b7fdc40640618e465197f2148.tar.xz
rename PhysicsState to ClientMovementState and add utility functions for it
Diffstat (limited to 'azalea-client/src/lib.rs')
-rw-r--r--azalea-client/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/azalea-client/src/lib.rs b/azalea-client/src/lib.rs
index fbe88bf7..da4d3884 100644
--- a/azalea-client/src/lib.rs
+++ b/azalea-client/src/lib.rs
@@ -15,7 +15,10 @@ pub mod test_utils;
#[deprecated = "moved to `account::Account`."]
pub type Account = account::Account;
-pub use azalea_physics::local_player::{PhysicsState, SprintDirection, WalkDirection};
+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.