diff options
Diffstat (limited to 'azalea/examples')
| -rw-r--r-- | azalea/examples/craft_dig_straight_down.rs | 4 | ||||
| -rw-r--r-- | azalea/examples/echo.rs | 4 | ||||
| -rw-r--r-- | azalea/examples/potatobot/main.rs | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/azalea/examples/craft_dig_straight_down.rs b/azalea/examples/craft_dig_straight_down.rs index 9e675f28..82960a9c 100644 --- a/azalea/examples/craft_dig_straight_down.rs +++ b/azalea/examples/craft_dig_straight_down.rs @@ -1,5 +1,5 @@ -use azalea::{pathfinder, Account}; -use azalea::{Bot, Client, Event}; +use azalea::pathfinder; +use azalea::prelude::*; use parking_lot::Mutex; use std::sync::Arc; diff --git a/azalea/examples/echo.rs b/azalea/examples/echo.rs index 07dd50c1..8c11d6e7 100644 --- a/azalea/examples/echo.rs +++ b/azalea/examples/echo.rs @@ -1,8 +1,6 @@ //! A simple bot that repeats chat messages sent by other players. -use azalea::{Account, Client, Event}; -use parking_lot::Mutex; -use std::sync::Arc; +use azalea::prelude::*; #[tokio::main] async fn main() { diff --git a/azalea/examples/potatobot/main.rs b/azalea/examples/potatobot/main.rs index 1aa28ecc..54c84570 100644 --- a/azalea/examples/potatobot/main.rs +++ b/azalea/examples/potatobot/main.rs @@ -1,7 +1,7 @@ mod autoeat; use azalea::prelude::*; -use azalea::{pathfinder, Account, BlockPos, Client, Event, ItemKind, MoveDirection, Plugin, Vec3}; +use azalea::{pathfinder, BlockPos, ItemKind, Vec3}; #[derive(Default, Clone)] struct State {} |
