diff options
| author | mat <git@matdoes.dev> | 2026-03-30 10:02:22 +0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-05-07 08:05:58 -1200 |
| commit | 4af9762854aad30b7fdc40640618e465197f2148 (patch) | |
| tree | b3f00274ed277ed4a1fb6363b1f11e9f430c7535 /azalea-physics/src/collision | |
| parent | ddef37118448b639ff56b86ae339e8913cb4ed11 (diff) | |
| download | azalea-drasl-4af9762854aad30b7fdc40640618e465197f2148.tar.xz | |
rename PhysicsState to ClientMovementState and add utility functions for it
Diffstat (limited to 'azalea-physics/src/collision')
| -rw-r--r-- | azalea-physics/src/collision/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-physics/src/collision/mod.rs b/azalea-physics/src/collision/mod.rs index 430b91ad..6dfe2e00 100644 --- a/azalea-physics/src/collision/mod.rs +++ b/azalea-physics/src/collision/mod.rs @@ -29,7 +29,7 @@ use tracing::warn; use self::world_collisions::get_block_collisions; use crate::{ - collision::entity_collisions::AabbQuery, local_player::PhysicsState, travel::no_collision, + client_movement::ClientMovementState, collision::entity_collisions::AabbQuery, travel::no_collision, }; #[derive(Clone, Copy, Debug, Eq, PartialEq)] @@ -116,7 +116,7 @@ pub struct MoveCtx<'world, 'state, 'a, 'b> { pub source_entity: Entity, pub aabb_query: &'a AabbQuery<'world, 'state, 'b>, pub collidable_entity_query: &'a CollidableEntityQuery<'world, 'state>, - pub physics_state: Option<&'a PhysicsState>, + pub physics_state: Option<&'a ClientMovementState>, pub attributes: &'a Attributes, pub abilities: Option<&'a PlayerAbilities>, |
