1 parent 4bc0e0a commit 198e844Copy full SHA for 198e844
1 file changed
examples/pathfinder/gps.js
@@ -19,12 +19,16 @@ const bot = mineflayer.createBot({
19
password: process.argv[5],
20
});
21
22
+
23
const RANGE_GOAL = 1; // get within this radius of the player
24
25
bot.loadPlugin(pathfinder);
26
27
bot.once("spawn", () => {
28
const defaultMove = new Movements(bot);
29
30
+ bot.physics.yawSpeed = 50;
31
+ bot.physics.pitchSpeed = 50;
32
33
bot.on("chat", (username, message) => {
34
console.log("Chat message received: ", username, message);
0 commit comments