#Having a lot of troubles with JavaScript bot using Mineflayer, but JS is hard lol.

18 messages · Page 1 of 1 (latest)

proud solstice
#

So, I started creating myself a minecraft bot, cuz its pretty fun to have a helper for tasks, and, I barely managed to get it to attack enemies, and defend itself, but, even there, I have a lot of problems, and, I have no idea how to fix them D:

#

For example, when the bot targets a player that hit it 3 times, if the bot happens to detect a hostile mob in range, it will bug, as it will try to kill both at the same time.

So, instead he'll kill none and stop moving-

proud solstice
#

Also, anyone knows how to make it so if I change a variable in a file, it will change it in the other files ?

hoary garnet
#

Don't really have any suggestions right now, but I'm checking out mineflayer!

hoary garnet
#

Got mineflayer running!

proud solstice
#

But, its so hard when you don't know code-

hoary garnet
#

I actually joined the mineflayer server and have been asking questions there

proud solstice
#

yeah lol, I'm bad at js, I barely even tried it before lol.

hoary garnet
#

Link is in the README on that page

proud solstice
#

Dang, I didn't even notice there was a discord lmao.

#

Ty.

hoary garnet
#

Haha you're welcome