Class ProfileFetcher
java.lang.Object
net.citizensnpcs.npc.skin.profile.ProfileFetcher
Fetches game profiles that include skin data from Mojang servers.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidfetch(String name, Consumer<ProfileRequest> handler) Fetch a profile.static voidfetchForced(String name, Consumer<ProfileRequest> handler) static voidreset()Clear all queued and cached requests.static voidshutdown()
- 
Method Details- 
fetchFetch 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
- 
resetpublic static void reset()Clear all queued and cached requests.
- 
shutdownpublic static void shutdown()
 
-