pyCraft icon indicating copy to clipboard operation
pyCraft copied to clipboard

Water physics

Open nisutec opened this issue 5 years ago • 4 comments

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

nisutec avatar May 31 '20 16:05 nisutec

you would need to implement such movement yourself

MiniDigger avatar Jun 02 '20 08:06 MiniDigger

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 ?

nisutec avatar Jun 02 '20 08:06 nisutec

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

Skelmis avatar Aug 20 '20 14:08 Skelmis

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.

joodicator avatar Aug 20 '20 16:08 joodicator