about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-15 12:05:44 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-15 12:05:44 +0100
commit449b1d0540c5e84619ce4f8ce0655a6627eb9b4e (patch)
treea003d082d6912f916e87346c893c61969c351c43
parentMisc: Add basic README (diff)
download2bored2walk-449b1d0540c5e84619ce4f8ce0655a6627eb9b4e.tar.gz
2bored2walk-449b1d0540c5e84619ce4f8ce0655a6627eb9b4e.tar.bz2
2bored2walk-449b1d0540c5e84619ce4f8ce0655a6627eb9b4e.zip
Pathfinding: Disable parkour and set maxDropDown=3
-rw-r--r--src/main.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.ts b/src/main.ts
index c6bf915..6665e9a 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -52,6 +52,8 @@ bot.loadPlugin(autoeat)
 bot.once('spawn', () => {
   mineflayerViewer(bot, { firstPerson: true, port: 3000 });
   const defaultMove = new Movements(bot);
+  defaultMove.allowParkour = false;
+  defaultMove.maxDropDown = 3;
 
   (bot as any).autoEat.options.priority = 'saturation';
   (bot as any).autoEat.options.startAt = 16;