ammaraskar / pyCraft

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

Water physics #180

Open nisutec opened 4 years ago

nisutec commented 4 years ago

After joining the server with the lib the player is not affected from water physics. Is this a bug or is it possible to activate this behavior.

Problem

MiniDigger commented 4 years ago

you would need to implement such movement yourself

nisutec commented 4 years ago

yes but how i can do this i can't find any docomentation about this topic on the docomentation. How i can enable the normal physics of a player ?

Skelmis commented 4 years ago

You would need to implement additional packets to handle movement and world interaction I believe

joodicator commented 4 years ago

I think that implementing client-side physics calculations is beyond the scope of this library, which is intended primarily to handle the network protocol; therefore, this is working as intended. However, it is certainly possible to implement this kind of functionality on top of pyCraft. I cannot tell you exactly how, myself, because I have never looked into Minecraft's physics.