aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/examples')
-rw-r--r--azalea/examples/testbot.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/azalea/examples/testbot.rs b/azalea/examples/testbot.rs
index 8e6f5b98..c562041e 100644
--- a/azalea/examples/testbot.rs
+++ b/azalea/examples/testbot.rs
@@ -129,6 +129,9 @@ async fn handle(mut bot: Client, event: Event, _state: State) -> anyhow::Result<
println!("going to {target_pos:?}");
bot.goto(BlockPosGoal::from(target_pos));
}
+ "worldborder" => {
+ bot.goto(BlockPosGoal::from(BlockPos::new(30_000_000, 70, 0)));
+ }
"look" => {
let Some(entity) = entity else {
bot.chat("I can't see you");