We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This page is not up to date.
Sometimes you may want to display the player's skin in the launcher. jmccc-yggdrasil-authenticator can do this.
Creates a ProfileService
ProfileService
ProfileService profileService = YggdrasilServiceBuilder.defaultProfileService();
Fetches the player's profile by uuid
GameProfile profile = profileService.getGameProfile(uuid);
Gets the player's textures
PlayerTextures textures = profileService.getTextures(profile);
If you don't have the player's uuid, you can invoke ProfileService.lookupUUIDByName(String) to query.
ProfileService.lookupUUIDByName(String)