net.minecraft.server.players

public class GameProfileCache

aco
net.minecraft.server.players.GameProfileCache
net.minecraft.class_3312
net.minecraft.util.UserCache
net.minecraft.server.management.PlayerProfileCache
net.minecraft.server.v1_16_R2.UserCache

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_25805
field_25805
field_242114_a
private static boolean
b
usesAuthentication
field_14313
useRemote
field_187322_c
private final Map<String, GameProfileCache$GameProfileInfo>
c
profilesByName
field_14312
byName
field_152661_c
private final Map<UUID, GameProfileCache$GameProfileInfo>
d
profilesByUUID
field_14310
byUuid
field_152662_d
private final com.mojang.authlib.GameProfileRepository
e
profileRepository
field_14315
profileRepository
field_187323_g
private final com.google.gson.Gson
f
gson
field_14318
gson
field_152660_b
private final File
g
file
field_14314
cacheFile
field_152665_g
private final AtomicLong
h
operationCount
field_25724
field_25724
field_242115_h

Constructor summary

ModifierConstructor
public (com.mojang.authlib.GameProfileRepository profileRepository, File cacheFile)

Method summary

Modifier and TypeMethod
private void
a(aco$a arg0)
safeAdd(GameProfileCache$GameProfileInfo arg0)
method_30164(class_3312$class_3313 arg0)
method_30164(UserCache$Entry arg0)
func_242118_a(PlayerProfileCache$ProfileEntry arg0)
private static com.mojang.authlib.GameProfile
a(com.mojang.authlib.GameProfileRepository arg0, String arg1)
lookupGameProfile(com.mojang.authlib.GameProfileRepository arg0, String arg1)
method_14509(com.mojang.authlib.GameProfileRepository arg0, String arg1)
findProfileByName(com.mojang.authlib.GameProfileRepository repository, String name)
func_187319_a(com.mojang.authlib.GameProfileRepository arg0, String arg1)
public static void
a(boolean arg0)
setUsesAuthentication(boolean arg0)
method_14510(boolean arg0)
setUseRemote(boolean value)
func_187320_a(boolean arg0)
private static boolean
c()
usesAuthentication()
method_14514()
shouldUseRemote()
func_187321_d()
public void
a(com.mojang.authlib.GameProfile arg0)
add(com.mojang.authlib.GameProfile arg0)
method_14508(com.mojang.authlib.GameProfile arg0)
add(com.mojang.authlib.GameProfile arg0)
func_152649_a(com.mojang.authlib.GameProfile arg0)
private long
d()
getNextOperation()
method_30169()
method_30169()
func_242123_d()
public com.mojang.authlib.GameProfile
a(String arg0)
get(String arg0)
method_14515(String arg0)
findByName(String arg0)
func_152655_a(String arg0)
getProfile(String arg0)
public com.mojang.authlib.GameProfile
a(UUID arg0)
get(UUID arg0)
method_14512(UUID arg0)
getByUuid(UUID arg0)
func_152652_a(UUID arg0)
getProfile(UUID arg0)
private static DateFormat
e()
createDateFormat()
method_30170()
method_30170()
func_242124_e()
public List<GameProfileCache$GameProfileInfo>
a()
load()
method_14517()
load()
func_242116_a()
public void
b()
save()
method_14518()
save()
func_152658_c()
private Stream<GameProfileCache$GameProfileInfo>
a(int arg0)
getTopMRUProfiles(int arg0)
method_14516(int arg0)
getLastAccessedEntries(int arg0)
func_242117_a(int arg0)
private static com.google.gson.JsonElement
a(aco$a arg0, DateFormat arg1)
writeGameProfile(GameProfileCache$GameProfileInfo arg0, DateFormat arg1)
method_30165(class_3312$class_3313 arg0, DateFormat arg1)
method_30165(UserCache$Entry arg0, DateFormat arg1)
func_242119_a(PlayerProfileCache$ProfileEntry arg0, DateFormat arg1)
private static GameProfileCache$GameProfileInfo
a(com.google.gson.JsonElement arg0, DateFormat arg1)
readGameProfile(com.google.gson.JsonElement arg0, DateFormat arg1)
method_30167(com.google.gson.JsonElement arg0, DateFormat arg1)
method_30167(com.google.gson.JsonElement arg0, DateFormat arg1)
func_242121_a(com.google.gson.JsonElement arg0, DateFormat arg1)