Translations:Mouse Movement/30/en

From Minecraft Parkour Wiki

/* In Entity.java */ public void rotateEntity(float dX, float dY) {

   this.rotationYaw = this.rotationYaw + dX*0.15);
   this.rotationPitch = this.rotationPitch - dY*0.15;
   this.rotationPitch = MathHelper.clamp(this.rotationPitch, -90.0, 90.0);

} </syntaxhighlight>