PrismarineJS / mineflayer-navigate

mineflayer plugin which gives bots a high level 3d navigating API using A*
59 stars 22 forks source link

Sprint Jumping #15

Open yocontra opened 11 years ago

yocontra commented 11 years ago

Does this let you sprint jump? You probably have it jump over gaps of 1 or 2 but you can sprint jump like 3-4 blocks

andrewrk commented 11 years ago

The module currently does not take sprint jumping into account. A PR to add this would be welcome.

Darthfett commented 11 years ago

If we're going to go by the Notchian Client rules, this would only be allowed while the bot has more than 6 food (3 shanks), which could deplete along the way and might mean the bot is cheating halfway down the path. Supporting this might make the code very ugly.

By Notchian Server rules, the bot can fly around and probably sprint anytime he wants.

andrewrk commented 11 years ago

mineflayer enforces notchian client rules (See https://github.com/superjoe30/mineflayer/issues/91) but also lets you override bot.entity.position and bot.entity.velocity if you choose to. What this issue means for mineflayer-navigate is that it mineflayer-navigate would try to take advantage of the non-overridden sprinting controls when possible.

yocontra commented 11 years ago

Overriding positions like that is going to get you banned on 99% of MC servers so I say we avoid doing that

nevercast commented 10 years ago

Perhaps position and velocity be read only outside the scope of the physics plugin? (Using defineProperty)

Obviously this is still an issue, I've assigned https://github.com/andrewrk/mineflayer/issues/91 to Milestone 1.7

It would be nice to see full sprint support with hunger and all included when the stable rolls around