From 02280dc6e2c559452f00eed9c5c23efa0d6cb5fe Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 16 Jan 2026 21:58:56 -0545 Subject: better pathfinder swimming and other tweaks --- azalea/src/pathfinder/debug.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea/src/pathfinder/debug.rs') diff --git a/azalea/src/pathfinder/debug.rs b/azalea/src/pathfinder/debug.rs index 7fe44919..42a64982 100644 --- a/azalea/src/pathfinder/debug.rs +++ b/azalea/src/pathfinder/debug.rs @@ -74,7 +74,8 @@ pub fn debug_render_path_with_particles( // this isn't foolproof, there might be another block that could be mined // depending on the move, but it's good enough for debugging // purposes - let is_mining = !super::world::is_block_state_passable(target_block_state) + let is_mining = !(super::world::is_block_state_passable(target_block_state) + || super::world::is_block_state_water(target_block_state)) || !super::world::is_block_state_passable(above_target_block_state); let (r, g, b): (f64, f64, f64) = if i == 0 { -- cgit v1.2.3