aboutsummaryrefslogtreecommitdiff
path: root/azalea
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-04-19 21:09:38 +0300
committermat <git@matdoes.dev>2025-04-19 21:09:38 +0300
commitfefc5db09a3e2d4453d63edad0f71e93bbb98029 (patch)
tree847eb1ed32d418a12af3d6f985f7351d4664ea13 /azalea
parentb7bc08e3528ae0a5defe3612ef4ed6eef5216db6 (diff)
downloadazalea-drasl-fefc5db09a3e2d4453d63edad0f71e93bbb98029.tar.xz
make azalea::pathfinder::debug public
Diffstat (limited to 'azalea')
-rw-r--r--azalea/examples/testbot/main.rs2
-rw-r--r--azalea/src/pathfinder/debug.rs2
-rw-r--r--azalea/src/pathfinder/mod.rs3
3 files changed, 3 insertions, 4 deletions
diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs
index 683a98d7..c25904cf 100644
--- a/azalea/examples/testbot/main.rs
+++ b/azalea/examples/testbot/main.rs
@@ -32,7 +32,7 @@ use std::{sync::Arc, thread};
use azalea::ClientInformation;
use azalea::brigadier::command_dispatcher::CommandDispatcher;
use azalea::ecs::prelude::*;
-use azalea::pathfinder::PathfinderDebugParticles;
+use azalea::pathfinder::debug::PathfinderDebugParticles;
use azalea::prelude::*;
use azalea::swarm::prelude::*;
use commands::{CommandSource, register_commands};
diff --git a/azalea/src/pathfinder/debug.rs b/azalea/src/pathfinder/debug.rs
index 98778cad..da27708d 100644
--- a/azalea/src/pathfinder/debug.rs
+++ b/azalea/src/pathfinder/debug.rs
@@ -10,7 +10,7 @@ use super::ExecutingPath;
///
/// ```
/// # use azalea::prelude::*;
-/// # use azalea::pathfinder::PathfinderDebugParticles;
+/// # use azalea::pathfinder::debug::PathfinderDebugParticles;
/// # #[derive(Component, Clone, Default)]
/// # pub struct State;
///
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs
index f481350b..c747ef67 100644
--- a/azalea/src/pathfinder/mod.rs
+++ b/azalea/src/pathfinder/mod.rs
@@ -4,7 +4,7 @@
pub mod astar;
pub mod costs;
-mod debug;
+pub mod debug;
pub mod goals;
pub mod mining;
pub mod moves;
@@ -43,7 +43,6 @@ use rel_block_pos::RelBlockPos;
use tokio::sync::broadcast::error::RecvError;
use tracing::{debug, error, info, trace, warn};
-pub use self::debug::PathfinderDebugParticles;
use self::debug::debug_render_path_with_particles;
use self::goals::Goal;
use self::mining::MiningCache;