obiwac / python-minecraft-clone

Source code for each episode of my Minecraft clone in Python YouTube tutorial series.
https://www.youtube.com/playlist?list=PL6_bLxRDFzoKjaa3qCGkwR5L_ouSreaVP
MIT License
162 stars 79 forks source link

[suggestion] Use quarry for networking #21

Open ajh123 opened 3 years ago

ajh123 commented 3 years ago

if we use quarry, we will be able to join a real minecraft server, when we implement all play mode packets

obiwac commented 3 years ago

I had never heard of this, thank you for bringing it to my attention! I've only briefly skimmed over the project, but I'll look into it further in due time.

ajh123 commented 3 years ago

It does not implement any play mode packets so we can implement them into our game easier, like the position_and_look. packet

ajh123 commented 3 years ago

However the documentation is a bit outdated. But for the Minecraft protocol we can use wiki.vg and implement all the modern Minecraft packets

drakeerv commented 3 years ago

This looks cool!

drakeerv commented 3 years ago

I also found this https://github.com/ammaraskar/pyCraft

ajh123 commented 3 years ago

But thats not compatible with the latest Minecraft (1.17.1) but quarry is

abhra2020-smart commented 2 years ago

Where ya' gonna get the blocks from? And also, won't it seem like hacking if you're just flying around? If you can modify the server world, it's just a tool for trollers although it'd be kinda funny.

I suggest we implement a movement system first. In the meantime, I'm on the wiki of 1.17.1 blocks (I'll start a PR).

Where the movement logic stored at? It'd be helpful to know.

obiwac commented 2 years ago

You mean in the clone? It's in camera.py