diff options
| author | mat <git@matdoes.dev> | 2025-05-30 14:44:48 -1300 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-30 14:44:48 -1300 |
| commit | e37524899eef8a0034faee35cef4bbf1ba779a7d (patch) | |
| tree | 5afe343086db2a9ebc78fe0a6987b9325286cc66 /azalea/examples/testbot | |
| parent | ae4b1e85e669bc882d158509ef1eda46c6b2a72e (diff) | |
| download | azalea-drasl-e37524899eef8a0034faee35cef4bbf1ba779a7d.tar.xz | |
formatting: merge imports
Diffstat (limited to 'azalea/examples/testbot')
| -rw-r--r-- | azalea/examples/testbot/commands.rs | 10 | ||||
| -rw-r--r-- | azalea/examples/testbot/main.rs | 14 |
2 files changed, 9 insertions, 15 deletions
diff --git a/azalea/examples/testbot/commands.rs b/azalea/examples/testbot/commands.rs index 4e261e17..da6b7cc2 100644 --- a/azalea/examples/testbot/commands.rs +++ b/azalea/examples/testbot/commands.rs @@ -2,12 +2,10 @@ pub mod combat; pub mod debug; pub mod movement; -use azalea::Client; -use azalea::GameProfileComponent; -use azalea::brigadier::prelude::*; -use azalea::chat::ChatPacket; -use azalea::ecs::prelude::*; -use azalea::entity::metadata::Player; +use azalea::{ + Client, GameProfileComponent, brigadier::prelude::*, chat::ChatPacket, ecs::prelude::*, + entity::metadata::Player, +}; use parking_lot::Mutex; use crate::State; diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 1aa9485d..8a35a281 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -25,16 +25,12 @@ mod commands; pub mod killaura; -use std::time::Duration; -use std::{env, process}; -use std::{sync::Arc, thread}; +use std::{env, process, sync::Arc, thread, time::Duration}; -use azalea::ClientInformation; -use azalea::brigadier::command_dispatcher::CommandDispatcher; -use azalea::ecs::prelude::*; -use azalea::pathfinder::debug::PathfinderDebugParticles; -use azalea::prelude::*; -use azalea::swarm::prelude::*; +use azalea::{ + ClientInformation, brigadier::command_dispatcher::CommandDispatcher, ecs::prelude::*, + pathfinder::debug::PathfinderDebugParticles, prelude::*, swarm::prelude::*, +}; use commands::{CommandSource, register_commands}; use parking_lot::Mutex; |
