MojangAPI

object MojangAPI

A utility object for interacting with the Mojang API to retrieve player profile data.

Functions

Link copied to clipboard
suspend fun getProfile(uuid: String): PlayerProfile

Retrieves the player's profile from the Mojang session server based on the provided UUID.

Link copied to clipboard
suspend fun getProfileByName(username: String): PlayerProfile

Another version of getProfile.