diff options
| author | mat <git@matdoes.dev> | 2025-04-19 21:09:38 +0300 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-19 21:09:38 +0300 |
| commit | fefc5db09a3e2d4453d63edad0f71e93bbb98029 (patch) | |
| tree | 847eb1ed32d418a12af3d6f985f7351d4664ea13 /azalea | |
| parent | b7bc08e3528ae0a5defe3612ef4ed6eef5216db6 (diff) | |
| download | azalea-drasl-fefc5db09a3e2d4453d63edad0f71e93bbb98029.tar.xz | |
make azalea::pathfinder::debug public
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/examples/testbot/main.rs | 2 | ||||
| -rw-r--r-- | azalea/src/pathfinder/debug.rs | 2 | ||||
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 3 |
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; |
