Translations:45 Strafe/25/zh: Difference between revisions

From Minecraft Parkour Wiki
Content added Content deleted
(Created page with "float movementFactor; if (this.onGround) movementFactor = this.landMovementFactor * acceleration; /* landMovementFactor 基础情况下为 0.1,疾跑时...")
 
No edit summary
 
Line 2: Line 2:
if (this.onGround)
if (this.onGround)
movementFactor = this.landMovementFactor * acceleration;
movementFactor = this.landMovementFactor * acceleration;
/* landMovementFactor 基础情况下为 0.1,疾跑时 ×1.3,受药水效果影响。 */
/* landMovementFactor 基础情况下为 0.1,疾跑时×1.3,受药水效果影响。 */

Latest revision as of 04:08, 7 October 2021

Message definition (45 Strafe)
float movementFactor;
   if (this.onGround)
       movementFactor = this.landMovementFactor * acceleration;
       /* base: 0.1; x1.3 if sprinting, affected by potion effects. */

float movementFactor;

   if (this.onGround)
       movementFactor = this.landMovementFactor * acceleration;
       /* landMovementFactor 基础情况下为 0.1,疾跑时×1.3,受药水效果影响。 */