public class PlayerProfileCache
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static java.text.SimpleDateFormat | DATE_FORMAT | 
| protected com.google.gson.Gson | gson | 
| Constructor and Description | 
|---|
| PlayerProfileCache(com.mojang.authlib.GameProfileRepository profileRepoIn,
                  java.io.File usercacheFileIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addEntry(com.mojang.authlib.GameProfile gameProfile) | 
| com.mojang.authlib.GameProfile | getGameProfileForUsername(java.lang.String username) | 
| com.mojang.authlib.GameProfile | getProfileByUUID(java.util.UUID uuid) | 
| java.lang.String[] | getUsernames() | 
| void | load() | 
| void | save() | 
| static void | setOnlineMode(boolean onlineModeIn) | 
public static final java.text.SimpleDateFormat DATE_FORMAT
protected final com.google.gson.Gson gson
public PlayerProfileCache(com.mojang.authlib.GameProfileRepository profileRepoIn,
                          java.io.File usercacheFileIn)
public static void setOnlineMode(boolean onlineModeIn)
public void addEntry(com.mojang.authlib.GameProfile gameProfile)
@Nullable public com.mojang.authlib.GameProfile getGameProfileForUsername(java.lang.String username)
public java.lang.String[] getUsernames()
@Nullable public com.mojang.authlib.GameProfile getProfileByUUID(java.util.UUID uuid)
public void load()
public void save()