Riverside man tells court of incident that lead to the loss of his eye