Added and fixed basic saving of recording player

This commit is contained in:
Marius Metzger
2015-01-16 21:39:30 +01:00
parent 1afdd6df2b
commit 69a196fe74
9 changed files with 210 additions and 125 deletions

View File

@@ -39,9 +39,13 @@ public class CameraEntity extends Entity {
mc.thePlayer.rotationYaw = ReplayHandler.getCameraEntity().rotationYaw;
//removes water/suffocation/shadow overlays in screen
mc.thePlayer.posX = 0;
mc.thePlayer.posY = 500;
mc.thePlayer.posZ = 0;
//mc.thePlayer.posX = 0;
//mc.thePlayer.posY = 500;
//mc.thePlayer.posZ = 0;
mc.thePlayer.posX = ReplayHandler.getCameraEntity().posX;
mc.thePlayer.posY = ReplayHandler.getCameraEntity().posY;
mc.thePlayer.posZ = ReplayHandler.getCameraEntity().posZ;
}
if(direction == null || motion < 0.1) {