Skip to content

Bot position not updating when in vehicle, causing incorrect block detection (e.g., blockAtCursor) #3615

Open
@MrCatplay

Description

@MrCatplay

Versions

  • Mineflayer: 4.23.0
  • Server: Vanilla 1.19.2
  • Node.js: 20.x LTS

Detailed Description

When the bot is riding a vehicle (boat, minecart, etc.), its position is not updated in the move event. This results in functions like bot.blockAtCursor() using outdated coordinates, making interactions with blocks inaccurate.

I’ve read the FAQ.

This issue is not a duplicate.

I’ve provided all required details.

Let me know if you need more information!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stage1just created by someone new to the project, we don't know yet if it deserves an implementation / a fpossible bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions