getSkin

abstract suspend fun getSkin(userId: UUID): SkinInfo?

Retrieves the current skin of the supplied userId from Xenos. The result includes the moment when the data was fetched from the Mojang API, to that stale data can be identified. If the player cannot be found, null will be returned. The texture is guaranteed to be present within the memory and therefore easily accessible.