Translations:Water and Lava/26/zh
if (acceleration.lengthVector() > 0.0D && entityIn.isPushedByWater())
{ acceleration = acceleration.normalize(); double mult = 0.014D; entityIn.motionX += acceleration.xCoord * mult; entityIn.motionY += acceleration.yCoord * mult; entityIn.motionZ += acceleration.zCoord * mult; }