@Override
public void decodeInto(ChannelHandlerContext context, ByteBuf buffer)
{
this.entityID = buffer.readInt();
this.position = new Vector3(buffer.readDouble(), buffer.readDouble(), buffer.readDouble());
this.rotationYaw = buffer.readFloat();
this.rotationPitch = buffer.readFloat();
this.motion = new Vector3(buffer.readDouble(), buffer.readDouble(), buffer.readDouble());
this.onGround = buffer.readBoolean();
}