PrismarineJS / mineflayer-navigate

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

How i make bot navigate to my player location until i say stop #42

Closed MaxProg2 closed 4 years ago

MaxProg2 commented 4 years ago

i know basics of mineflayer, i didnt use this yet but im looking to make a bot follow me by saying a chat command like if player said follow it follows the person who said it

rom1504 commented 4 years ago

Listen on chat event, find the player location with bot.players[player].entity.location then call navigate on that.

On Fri, Dec 13, 2019, 18:07 MaxProg2 notifications@github.com wrote:

i know basics of mineflayer, i didnt use this yet but im looking to make a bot follow me by saying a chat command like if player said follow it follows the person who said it

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer-navigate/issues/42?email_source=notifications&email_token=AAR437TFCDXWIORTREXC7ITQYO6MTA5CNFSM4J2QMRMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAL7VSA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437UIOMGXCRREBIGYAMTQYO6MTANCNFSM4J2QMRMA .