-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails at parkour #70
Comments
There are 2 steps for adding special moves:
First step is done by generating the move in the getNeighbors function: https://github.com/PrismarineJS/mineflayer-pathfinder/blob/master/lib/movements.js#L333 Second step is done here https://github.com/PrismarineJS/mineflayer-pathfinder/blob/master/index.js#L327 by adjusting the control states and heading direction. At the moment, only basic parkour is implemented (1 blocks gaps, towering,..). It would be interesting to add more complex movements (>1 block jumps, fall in water (place bucket), ladders and vines). |
So, not sure if this deserves a new issue or is under this catergory, but sometimes I see the bot failing at making a simple single block horizontal jump, e.g: It doesn't always happen, take this similary single block jump from standing: Here the bot succeeds on the first jump, but then fails the second: All of these are reproducible failures, given the same environment. |
Yeah, that says the control algorithm need to be improved. Feel free to play with it. |
If I wanted to contribute the ability to "parkour" to this module, would you be able to point me in the correct direction to do so? What would it take in order to allow the program to make jumps?
The text was updated successfully, but these errors were encountered: