Exemplo n.º 1
0
 public void updateRidden() {
   double d = posX;
   double d1 = posY;
   double d2 = posZ;
   super.updateRidden();
   prevCameraYaw = cameraYaw;
   cameraYaw = 0.0F;
   addMountedMovementStat(posX - d, posY - d1, posZ - d2);
 }
Exemplo n.º 2
0
 /** Handles updating while being ridden by an entity */
 public void updateRidden() {
   double var1 = this.posX;
   double var3 = this.posY;
   double var5 = this.posZ;
   super.updateRidden();
   this.prevCameraYaw = this.cameraYaw;
   this.cameraYaw = 0.0F;
   this.addMountedMovementStat(this.posX - var1, this.posY - var3, this.posZ - var5);
 }