diff options
| author | mat <git@matdoes.dev> | 2026-01-17 11:58:37 -1030 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-17 11:58:37 -1030 |
| commit | 74ef7d19b2bc4453f5368cc39c838582f2f3bafd (patch) | |
| tree | cd133a77934f461b52db614eb10a99eb620f53e6 /azalea/src/pathfinder/moves | |
| parent | a49c8d0b53fed223bab127704c604291ee77f921 (diff) | |
| download | azalea-drasl-74ef7d19b2bc4453f5368cc39c838582f2f3bafd.tar.xz | |
use more compact chunk section positions in pathfinder
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 | 2 | ||||
| -rw-r--r-- | azalea/src/pathfinder/moves/parkour.rs | 2 | ||||
| -rw-r--r-- | azalea/src/pathfinder/moves/uncommon.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/azalea/src/pathfinder/moves/basic.rs b/azalea/src/pathfinder/moves/basic.rs index 69c949d7..1e8b7c64 100644 --- a/azalea/src/pathfinder/moves/basic.rs +++ b/azalea/src/pathfinder/moves/basic.rs @@ -9,7 +9,7 @@ use azalea_core::{ use super::{Edge, ExecuteCtx, IsReachedCtx, MoveData, PathfinderCtx, default_is_reached}; use crate::pathfinder::{ - astar, costs::*, moves::BARITONE_COMPAT, player_pos_to_block_pos, rel_block_pos::RelBlockPos, + astar, costs::*, moves::BARITONE_COMPAT, player_pos_to_block_pos, positions::RelBlockPos, }; pub fn basic_move(ctx: &mut PathfinderCtx, node: RelBlockPos) { diff --git a/azalea/src/pathfinder/moves/mod.rs b/azalea/src/pathfinder/moves/mod.rs index e62ae516..95d3ae35 100644 --- a/azalea/src/pathfinder/moves/mod.rs +++ b/azalea/src/pathfinder/moves/mod.rs @@ -23,7 +23,7 @@ use super::{ astar, custom_state::CustomPathfinderStateRef, mining::MiningCache, - rel_block_pos::RelBlockPos, + positions::RelBlockPos, world::{CachedWorld, is_block_state_passable}, }; use crate::{ diff --git a/azalea/src/pathfinder/moves/parkour.rs b/azalea/src/pathfinder/moves/parkour.rs index 09f4078a..b6b97465 100644 --- a/azalea/src/pathfinder/moves/parkour.rs +++ b/azalea/src/pathfinder/moves/parkour.rs @@ -3,7 +3,7 @@ use azalea_core::{direction::CardinalDirection, position::BlockPos}; use tracing::trace; use super::{Edge, ExecuteCtx, IsReachedCtx, MoveData, PathfinderCtx}; -use crate::pathfinder::{astar, costs::*, player_pos_to_block_pos, rel_block_pos::RelBlockPos}; +use crate::pathfinder::{astar, costs::*, player_pos_to_block_pos, positions::RelBlockPos}; pub fn parkour_move(ctx: &mut PathfinderCtx, node: RelBlockPos) { if !ctx.world.is_block_solid(node.down(1)) { diff --git a/azalea/src/pathfinder/moves/uncommon.rs b/azalea/src/pathfinder/moves/uncommon.rs index 43df3334..bc85333e 100644 --- a/azalea/src/pathfinder/moves/uncommon.rs +++ b/azalea/src/pathfinder/moves/uncommon.rs @@ -9,7 +9,7 @@ use crate::pathfinder::{ BARITONE_COMPAT, MoveData, PathfinderCtx, basic::{descend_is_reached, execute_descend_move}, }, - rel_block_pos::RelBlockPos, + positions::RelBlockPos, }; pub fn uncommon_move(ctx: &mut PathfinderCtx, node: RelBlockPos) { |
