Package net.citizensnpcs.npc.profile
Class ProfileFetcher
java.lang.Object
net.citizensnpcs.npc.profile.ProfileFetcher
Fetches game profiles that include skin data from Mojang servers.
- See Also:
-
ProfileFetchThread
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidfetch(String name, ProfileFetchHandler handler) Fetch a profile.static voidfetchForced(String name, ProfileFetchHandler handler) static voidreset()Clear all queued and cached requests.
-
Method Details
-
fetch
Fetch a profile.- Parameters:
name- The name of the player the profile belongs to.handler- Optional handler to handle the result. Handler always invoked from the main thread.
-
fetchForced
-
reset
public static void reset()Clear all queued and cached requests.
-