aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/moves/mod.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-10-26 05:29:26 +0000
committermat <git@matdoes.dev>2024-10-26 05:29:26 +0000
commit6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f (patch)
tree3b65d2984a0cffbe5acb3d44d7e3b8b145c32f95 /azalea/src/pathfinder/moves/mod.rs
parentb762575db61cf775d603e11eb2bd27ae13bdc4e9 (diff)
downloadazalea-drasl-6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f.tar.xz
group imports with rustfmt
Diffstat (limited to 'azalea/src/pathfinder/moves/mod.rs')
-rw-r--r--azalea/src/pathfinder/moves/mod.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/azalea/src/pathfinder/moves/mod.rs b/azalea/src/pathfinder/moves/mod.rs
index bb10b192..28974132 100644
--- a/azalea/src/pathfinder/moves/mod.rs
+++ b/azalea/src/pathfinder/moves/mod.rs
@@ -3,13 +3,6 @@ pub mod parkour;
use std::{fmt::Debug, sync::Arc};
-use crate::{auto_tool::best_tool_in_hotbar_for_block, JumpEvent, LookAtEvent};
-
-use super::{
- astar,
- mining::MiningCache,
- world::{is_block_state_passable, CachedWorld},
-};
use azalea_client::{
inventory::SetSelectedHotbarSlotEvent, mining::StartMiningBlockEvent, SprintDirection,
StartSprintEvent, StartWalkEvent, WalkDirection,
@@ -20,6 +13,13 @@ use azalea_world::Instance;
use bevy_ecs::{entity::Entity, event::EventWriter};
use parking_lot::RwLock;
+use super::{
+ astar,
+ mining::MiningCache,
+ world::{is_block_state_passable, CachedWorld},
+};
+use crate::{auto_tool::best_tool_in_hotbar_for_block, JumpEvent, LookAtEvent};
+
type Edge = astar::Edge<BlockPos, MoveData>;
pub type SuccessorsFn = fn(&mut PathfinderCtx, BlockPos);