aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/tests.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-15 09:18:28 -0900
committermat <git@matdoes.dev>2026-01-16 04:14:36 +0930
commit914f881dd834aef67755f2e0fd4989253fc9f794 (patch)
tree0075816dff58f5458e48d56bd1874cc8c67114fa /azalea/src/pathfinder/tests.rs
parent9c8cf7adea6da1c76d96f447b71345f63146be10 (diff)
downloadazalea-drasl-914f881dd834aef67755f2e0fd4989253fc9f794.tar.xz
minor pathfinder optimizations and api+doc improvements
Diffstat (limited to 'azalea/src/pathfinder/tests.rs')
-rw-r--r--azalea/src/pathfinder/tests.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea/src/pathfinder/tests.rs b/azalea/src/pathfinder/tests.rs
index a630a5b1..a428b177 100644
--- a/azalea/src/pathfinder/tests.rs
+++ b/azalea/src/pathfinder/tests.rs
@@ -281,8 +281,6 @@ fn test_mine_through_non_colliding_block() {
let mut simulation = setup_simulation_world(
&mut partial_chunks,
- // the pathfinder can't actually dig straight down, so we start a block to the side so
- // it can descend correctly
BlockPos::new(0, 72, 1),
&[BlockPos::new(0, 71, 1)],
&[
@@ -296,7 +294,7 @@ fn test_mine_through_non_colliding_block() {
simulation.app.world_mut().write_message(GotoEvent {
entity: simulation.entity,
- goal: Arc::new(BlockPosGoal(BlockPos::new(0, 69, 0))),
+ goal: Arc::new(BlockPosGoal(BlockPos::new(0, 70, 0))),
opts: PathfinderOpts::new()
.min_timeout(PathfinderTimeout::Nodes(1_000_000))
.max_timeout(PathfinderTimeout::Nodes(5_000_000)),