Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(mc.thePlayer.isCollidedHorizontally){
- mc.thePlayer.motionY = (0.2D);
- float var6 = 0.15F;
- if (mc.thePlayer.motionX < (double)(-var6))
- {
- mc.thePlayer.motionX = ((double)(-var6));
- }
- if (mc.thePlayer.motionX > (double)var6)
- {
- mc.thePlayer.motionX = ((double)var6);
- }
- if (mc.thePlayer.motionZ < (double)(-var6))
- {
- mc.thePlayer.motionZ = ((double)(-var6));
- }
- if (mc.thePlayer.motionZ > (double)var6)
- {
- mc.thePlayer.motionZ = ((double)var6);
- }
- mc.thePlayer.fallDistance = (0);
- if (mc.thePlayer.motionY < -0.15D)
- {
- mc.thePlayer.motionY = (-0.15D);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement