fix some function names

This commit is contained in:
Sen 2025-03-20 00:29:25 +01:00
parent fe57a2909a
commit 3d1c68210c
21 changed files with 133 additions and 164 deletions

View file

@ -17,7 +17,7 @@ public class S14PacketEntity implements Packet<NetHandlerPlayClient>
protected byte yaw;
protected byte pitch;
protected boolean onGround;
protected boolean field_149069_g;
protected boolean rotation;
public S14PacketEntity()
{
@ -62,34 +62,34 @@ public class S14PacketEntity implements Packet<NetHandlerPlayClient>
return worldIn.getEntityByID(this.entityId);
}
public byte func_149062_c()
public byte getPosX()
{
return this.posX;
}
public byte func_149061_d()
public byte getPosY()
{
return this.posY;
}
public byte func_149064_e()
public byte getPosZ()
{
return this.posZ;
}
public byte func_149066_f()
public byte getYaw()
{
return this.yaw;
}
public byte func_149063_g()
public byte getPitch()
{
return this.pitch;
}
public boolean func_149060_h()
public boolean hasRotations()
{
return this.field_149069_g;
return this.rotation;
}
public boolean getOnGround()
@ -135,7 +135,7 @@ public class S14PacketEntity implements Packet<NetHandlerPlayClient>
{
public S16PacketEntityLook()
{
this.field_149069_g = true;
this.rotation = true;
}
public S16PacketEntityLook(int entityIdIn, byte yawIn, byte pitchIn, boolean onGroundIn)
@ -143,7 +143,7 @@ public class S14PacketEntity implements Packet<NetHandlerPlayClient>
super(entityIdIn);
this.yaw = yawIn;
this.pitch = pitchIn;
this.field_149069_g = true;
this.rotation = true;
this.onGround = onGroundIn;
}
@ -168,7 +168,7 @@ public class S14PacketEntity implements Packet<NetHandlerPlayClient>
{
public S17PacketEntityLookMove()
{
this.field_149069_g = true;
this.rotation = true;
}
public S17PacketEntityLookMove(int p_i45973_1_, byte p_i45973_2_, byte p_i45973_3_, byte p_i45973_4_, byte p_i45973_5_, byte p_i45973_6_, boolean p_i45973_7_)
@ -180,7 +180,7 @@ public class S14PacketEntity implements Packet<NetHandlerPlayClient>
this.yaw = p_i45973_5_;
this.pitch = p_i45973_6_;
this.onGround = p_i45973_7_;
this.field_149069_g = true;
this.rotation = true;
}
public void readPacketData(PacketBuffer buf) throws IOException