barneygale / quarry

Python library that implements the Minecraft network protocol and data types
Other
532 stars 74 forks source link

Is there a block under player's feet #62

Closed MineFlayerPC closed 5 years ago

MineFlayerPC commented 5 years ago

How can I make a check whether there is a land under my bot, if it is not there, then fall into the block below, tell me how to do this in your library, as I recently began to study this topic, thanks

rom1504 commented 5 years ago

You can simply read the code of the library in your pseudo to check how it's done.

On Sat, Aug 3, 2019, 03:08 MineFlayerPC notifications@github.com wrote:

How can I make a check whether there is a land under my bot, if it is not there, then fall into the block below, tell me how to do this in your library, as I recently began to study this topic, thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/barneygale/quarry/issues/62?email_source=notifications&email_token=AAR437W6S3JOJ3LRJBMJQNTQCTLBBA5CNFSM4IJB4LK2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDFJUNA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR437WXH2WEHGX64LFHTP3QCTLBBANCNFSM4IJB4LKQ .

MineFlayerPC commented 5 years ago

Please tell me, I still can’t figure it out

rom1504 commented 5 years ago

https://github.com/PrismarineJS/mineflayer/blob/master/lib/plugins/physics.js

On Mon, Aug 12, 2019, 20:23 MineFlayerPC notifications@github.com wrote:

Please tell me, I still can’t figure it out

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/barneygale/quarry/issues/62?email_source=notifications&email_token=AAR437UEDP3FJCDYFDBG6MDQEGTC5A5CNFSM4IJB4LK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DM2NA#issuecomment-520539444, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR437XLEOKEJD2EPSG2IRTQEGTC5ANCNFSM4IJB4LKQ .

MineFlayerPC commented 5 years ago

This I can not do) I know about your library

rom1504 commented 5 years ago

You need to reimplement that in your language of choice which is Python

On Mon, Aug 12, 2019, 20:39 MineFlayerPC notifications@github.com wrote:

This I can not do) I know about your library

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/barneygale/quarry/issues/62?email_source=notifications&email_token=AAR437WDEFNA6XDCWDTDNW3QEGU7PA5CNFSM4IJB4LK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DOKWY#issuecomment-520545627, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR437REEWLIJG5R6JHCHQDQEGU7PANCNFSM4IJB4LKQ .

barneygale commented 5 years ago

See https://quarry.readthedocs.io/en/latest/data_types/chunks.html