ammaraskar / pyCraft

Minecraft-client networking library in Python
Other
816 stars 184 forks source link

Path finfing #151

Open LeonMusCoden opened 4 years ago

LeonMusCoden commented 4 years ago

Is there any way to let the client path find to a location

For example the client is at x = 0, y = 0 and i want the bot to go x = 18, y =41

BiatuAutMiahn commented 4 years ago

You would have to implement path finding on your own, imo this module needs ALOT of documentation

MiniDigger commented 4 years ago

this module needs ALOT of documentation

PRs welcome

TimeBather commented 4 years ago

I think it needs lots of codes to achieve it.You should parse the Chunk Data Packet and find the way to goal block.It's not easy.But I hope you can finish it.You can view the Packet formant here:https://wiki.vg/index.php?title=Protocol&oldid=14204#Chunk_Data