entityOrRiddenEntity

Gets entity if not null, or the entity player is sitting on. Preferred over entity.