Comments (8)
How much does he have to jump? A series of 2-gaps?
from mineflayer-navigate.
It's inconsistent. If you do at least 10 in a row of 1-gaps it should be enough to duplicate the issue.
from mineflayer-navigate.
I'll test it tonight.
from mineflayer-navigate.
FWIW, this is not introduced by your PR - this issue existed before.
from mineflayer-navigate.
I haven't been able to reproduce this issue. Right now I have a course with 10 2-block gaps in a row and it does just fine..
from mineflayer-navigate.
Interesting. I wonder if it has something to do with processor speed and using an event loop for the physics engine.
I also noticed that if I setControlState('jump', true)
and just watch the bot jump over and over, it'll hurt itself somehow and eventually die. Does this happen for you?
from mineflayer-navigate.
I'm running it on a MacBook Pro Retina (2.7 Ghz) and don't see any noticeable cpu utilization. Maybe the event loop isn't running fast enough?
Yeah, I filed a bug on that a few minutes ago. I'm guessing that it doesn't settle on the ground properly in between jumps.
from mineflayer-navigate.
To recreate this bug just make a 1 block distance between each block.
So block, air, block, air, block.....
The bot will jump too late, an easy fix is to change
const WAIT_TIME_BEFORE_NEW_JUMP = 0.3
in physics.js to a value lower than 0.1
from mineflayer-navigate.
Related Issues (20)
- Bot cannot navigate to stand on a chest
- Bot doesn't jump over a 2 block gap 1 block lower than it. HOT 8
- "Cannot read property 'to' of undefined"
- Bot can't walk over half slabs / stairs HOT 1
- How i make bot navigate to my player location until i say stop HOT 1
- now how can i make bot go to any block of certain type HOT 1
- Vertical Drops > 3 Blocks
- TypeError: Cannot read property 'floored' of undefined HOT 1
- TypeError: end.floored is not a function HOT 1
- Cannot read property 'entity' of undefined HOT 1
- Placing blocks messes up path HOT 2
- support 1.15.2 HOT 3
- Navigate cannot go through open or closed doors HOT 2
- Unable to remove listener HOT 1
- bot glich in farmland HOT 4
- support 1.16.5 plz HOT 1
- help HOT 2
- How can I change the default timeout? I want it to be 5s
- Bot stops following user because it can't find them when they jump. HOT 2
- Add TypeScript typings.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mineflayer-navigate.