Skip to content

Add entity in sight #576

Open
Open
@KittenPopo

Description

@KittenPopo

Hey, I started work again on my Mineflayer PvP bot, but could not figure out how to test if the bot was looking at the player before it attacked.

Would I need to make a script to tell if the rotation of the bot is somewhat at the needed rotation to point at the player, or can I get this from something not listed in the API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stage3idea is precisely specified, only coding is left to doentitynew feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions