ClientAPI.getCameraEntity

Returns the entity the camera is currently targeting, so returns the entity you are currently spectating, including yourself
overload 1:
client.getCameraEntity()
Method Property Fluent Description Representation
Return Value an EntityAPI
a a