Inaccurate knockback from other entities #3636
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Description
The Mineflayer bot does not seem to take knockback or be pushed around accurately in a few areas:
When the bot's hitbox overlaps with another player or mob, there is no mutual pushback as expected. The bot remains stationary instead of being pushed away like a normal entity would.
When punched while standing on solid ground, the bot is knocked vertically much higher than it should be—sometimes even a full block upward, which shouldn't normally happen.
The same issue occurs when the bot is in water (especially noticeable in 1-block-deep pools). It experiences significantly more knockback than a player or mob would under the same conditions.
Additional context
I am not extremely well-versed in the protocol that backs this library, so it's possible that the issue stems from slight inaccuracies in how movement or velocity is being simulated or handled.
Any ideas? Thank you in advance!
The text was updated successfully, but these errors were encountered: