fix some function names
This commit is contained in:
parent
fe57a2909a
commit
3d1c68210c
21 changed files with 133 additions and 164 deletions
|
@ -535,14 +535,14 @@ public class NetHandlerPlayClient extends NetHandler
|
|||
|
||||
if (entity != null)
|
||||
{
|
||||
entity.serverPosX += packetIn.func_149062_c();
|
||||
entity.serverPosY += packetIn.func_149061_d();
|
||||
entity.serverPosZ += packetIn.func_149064_e();
|
||||
entity.serverPosX += packetIn.getPosX();
|
||||
entity.serverPosY += packetIn.getPosY();
|
||||
entity.serverPosZ += packetIn.getPosZ();
|
||||
double d0 = (double)entity.serverPosX / 32.0D;
|
||||
double d1 = (double)entity.serverPosY / 32.0D;
|
||||
double d2 = (double)entity.serverPosZ / 32.0D;
|
||||
float f = packetIn.func_149060_h() ? (float)(packetIn.func_149066_f() * 360) / 256.0F : entity.rotYaw;
|
||||
float f1 = packetIn.func_149060_h() ? (float)(packetIn.func_149063_g() * 360) / 256.0F : entity.rotPitch;
|
||||
float f = packetIn.hasRotations() ? (float)(packetIn.getYaw() * 360) / 256.0F : entity.rotYaw;
|
||||
float f1 = packetIn.hasRotations() ? (float)(packetIn.getPitch() * 360) / 256.0F : entity.rotPitch;
|
||||
entity.setPositionAndRotation2(d0, d1, d2, f, f1, 3, false);
|
||||
entity.onGround = packetIn.getOnGround();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue