You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the two example codes in description.
The information of event path_update is: I can get there in 0 moves. Computation took 0.04 ms (1 nodes, 1173.71 nodes/tick)
Versions
Detailed description of a problem
https://github.com/PrismarineJS/mineflayer/blob/92e54f6d533d5b1e9dd0022754947845606eda56/examples/pathfinder/gps.js
https://github.com/PrismarineJS/mineflayer-pathfinder/blob/29f61cffe3906a82f50d9e176f0a1c0f0d3f4d9b/examples/example.js
Both examples will not work until respawn in 1.17.
My code is not working with the same problem.
It might be duplication of PrismarineJS/mineflayer#2177.
What did you try yet?
tried manually update target like:
It worked when I used bot.pathfinder.setGoal and bot.pathfinder.goto at the same time, but it gets very slow on arrival and crashes soon:
I ran the two example codes in description.
The information of event path_update is:
I can get there in 0 moves. Computation took 0.04 ms (1 nodes, 1173.71 nodes/tick)
It seems that the path is not set properly.
Your current code
https://pastebin.com/wKqBLvkW
Expected behavior
mineflayer-pathfinder should work fine without respawning.
Additional context
If the bot dies while following the target, the bot will move to the target's last location. I wonder if it's a bug or not.
The text was updated successfully, but these errors were encountered: