diff options
Diffstat (limited to 'azalea/src/pathfinder/moves')
| -rw-r--r-- | azalea/src/pathfinder/moves/basic.rs | 2 | ||||
| -rw-r--r-- | azalea/src/pathfinder/moves/mod.rs | 4 | ||||
| -rw-r--r-- | azalea/src/pathfinder/moves/parkour.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/azalea/src/pathfinder/moves/basic.rs b/azalea/src/pathfinder/moves/basic.rs index b8cbbbb7..abd750b3 100644 --- a/azalea/src/pathfinder/moves/basic.rs +++ b/azalea/src/pathfinder/moves/basic.rs @@ -1,7 +1,7 @@ use std::f32::consts::SQRT_2; use azalea_client::{SprintDirection, StartSprintEvent, StartWalkEvent, WalkDirection}; -use azalea_core::{BlockPos, CardinalDirection}; +use azalea_core::{direction::CardinalDirection, position::BlockPos}; use azalea_world::Instance; use crate::{ diff --git a/azalea/src/pathfinder/moves/mod.rs b/azalea/src/pathfinder/moves/mod.rs index f3ed7dff..d631ac8a 100644 --- a/azalea/src/pathfinder/moves/mod.rs +++ b/azalea/src/pathfinder/moves/mod.rs @@ -7,7 +7,7 @@ use crate::{JumpEvent, LookAtEvent}; use super::astar; use azalea_client::{StartSprintEvent, StartWalkEvent}; -use azalea_core::{BlockPos, Vec3}; +use azalea_core::position::{BlockPos, Vec3}; use azalea_physics::collision::{self, BlockWithShape}; use azalea_world::Instance; use bevy_ecs::{entity::Entity, event::EventWriter}; @@ -137,7 +137,7 @@ pub fn default_is_reached( mod tests { use super::*; use azalea_block::BlockState; - use azalea_core::ChunkPos; + use azalea_core::position::ChunkPos; use azalea_world::{Chunk, ChunkStorage, PartialInstance}; #[test] diff --git a/azalea/src/pathfinder/moves/parkour.rs b/azalea/src/pathfinder/moves/parkour.rs index 5f81149b..ab9c509c 100644 --- a/azalea/src/pathfinder/moves/parkour.rs +++ b/azalea/src/pathfinder/moves/parkour.rs @@ -1,5 +1,5 @@ use azalea_client::{SprintDirection, StartSprintEvent, StartWalkEvent, WalkDirection}; -use azalea_core::{BlockPos, CardinalDirection}; +use azalea_core::{direction::CardinalDirection, position::BlockPos}; use azalea_world::Instance; use crate::{ |
