Translations:Sneaking/17/zh

From Minecraft Parkour Wiki
Revision as of 07:21, 23 June 2022 by Pjx1314 (talk | contribs) (Created page with "dX_intended = dX; } //check for furthest ground under player in the Z axis (from initial position) while(dZ != 0.0D && getCollidingBoundingBoxes(this.boundingBox.offset(0,-1,dZ)).isEmpty()) { if (dZ < increment && dZ >= -increment) dZ = 0.0D; else if (dZ > 0.0D) dZ -= increment; else dZ += increment;")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

dX_intended = dX;

       }
               
       //check for furthest ground under player in the Z axis (from initial position)
       while(dZ != 0.0D && getCollidingBoundingBoxes(this.boundingBox.offset(0,-1,dZ)).isEmpty())
       {
           if (dZ < increment && dZ >= -increment)
               dZ = 0.0D;
           else if (dZ > 0.0D)
               dZ -= increment;
           else
               dZ += increment;