Translations:Lagback/27/en

In singleplayer, lagbacks are caused by this section of code (heavily simplified, we ignore exceptional cases such as flying, sleeping, teleporting, respawning, mounting an entity...): //in NetHandlerPlayServer.java public void processPlayer(PacketPlayer packetIn) {   double posY_original = this.playerEntity.posY; this.lastPosX = this.playerEntity.posX; this.lastPosY = this.playerEntity.posY; this.lastPosZ = this.playerEntity.posZ; double next_posX = packetIn.getPositionX; double next_posY = packetIn.getPositionY; double next_posZ = packetIn.getPositionZ; float yaw = this.playerEntity.rotationYaw; float pitch = this.playerEntity.rotationPitch; if (packetIn.getRotating) {yaw = packetIn.getYaw; pitch = packetIn.getPitch;}