diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-15 12:07:50 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-15 12:07:50 +0100 |
commit | 33c7df17c5b0130ad331db3672b3a81e324db30f (patch) | |
tree | dddb62268797e3596bc9697b55b1b2df5f505aef | |
parent | Pathfinding: Disable parkour and set maxDropDown=3 (diff) | |
download | 2bored2walk-33c7df17c5b0130ad331db3672b3a81e324db30f.tar.gz 2bored2walk-33c7df17c5b0130ad331db3672b3a81e324db30f.tar.bz2 2bored2walk-33c7df17c5b0130ad331db3672b3a81e324db30f.zip |
Formatting
-rw-r--r-- | src/main.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.ts b/src/main.ts index 6665e9a..4787742 100644 --- a/src/main.ts +++ b/src/main.ts @@ -6,14 +6,14 @@ import { pathfinder, Movements, goals } from 'mineflayer-pathfinder'; import { plugin as autoeat } from 'mineflayer-auto-eat'; const hostname: string = "localhost" +const goal: goals.Goal = new goals.GoalNear(0, 60, -2000000, 44) +const updateTimeMinutes: number = 30 +const minHealth: number = 0 +const swingArmTimeSeconds: number = 3 const discordClient = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages] }); const discordChannelId: string = process.env.DISCORD_CHANNEL as string const discordToken: string = process.env.DISCORD_TOKEN as string -const goal: goals.Goal = new goals.GoalNear(0, 60, -2000000, 1) -const updateTimeMinutes: number = 30 -const minHealth: number = 15 -const swingArmTimeSeconds: number = 3 //TODO antiafk mineflayer plugin NEED autoeeat //maybe not need to merge, check if end. to diconnect from proxy make a command or somethin |