about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.ts8
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