aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/moves
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-10-01 15:19:13 -0500
committermat <git@matdoes.dev>2023-10-01 15:19:13 -0500
commitbefa33a87950b6d0f3364cb4fe603f6d84bf4b8f (patch)
treeb46f2b76d4f7c66aef05759d33de68d88904c45b /azalea/src/pathfinder/moves
parent33e823d6fab990efaa735c05e4b0c42636003b76 (diff)
downloadazalea-drasl-befa33a87950b6d0f3364cb4fe603f6d84bf4b8f.tar.xz
organize azalea_core and re-export it from azalea
Diffstat (limited to 'azalea/src/pathfinder/moves')
-rw-r--r--azalea/src/pathfinder/moves/basic.rs2
-rw-r--r--azalea/src/pathfinder/moves/mod.rs4
-rw-r--r--azalea/src/pathfinder/moves/parkour.rs2
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::{