#What's the best way to stop any player movement/velocity?
9 messages · Page 1 of 1 (latest)
how do i tell the client? in terms of setting velocity to 0, i was using: context.getSource().getPlayer().setVelocity(0,0,0);
cancel the move event
setting ur motion to 0 doesn't actually stop you, it just makes u move slow
but it does stop you in terms of vertical motion
is there documentation or existing code that i could look to? or if you have a code snippet that would be huge too
yea just go to the move function in the LocalPlayer class
and remove the code that moves the player with mixins
im not able to find a LocalPlayer class, i only searched by hitting shift twice and searching in there though
I would guess that mojmap?