All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.to2mbn.jmccc.auth.YggdrasilCharacterSelector Maven / Gradle / Ivy

package com.github.to2mbn.jmccc.auth;

import com.github.to2mbn.jmccc.launch.AuthenticationException;
import com.github.to2mbn.jyal.GameProfile;

public interface YggdrasilCharacterSelector {

	/**
	 * Selects a character from the given characters.
	 * 

* If this method returns null, an {@link AuthenticationException} will occur. * * @param selected the default character that mojang specified * @param availableProfiles all the available characters * @return the character to select */ GameProfile select(GameProfile selected, GameProfile[] availableProfiles); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy