net.minecraft.server.players

public class GameProfileCache

akn
net.minecraft.server.players.GameProfileCache
net.minecraft.class_3312
net.minecraft.unmapped.C_jyqwslie
net.minecraft.util.UserCache
net.minecraft.util.UserCache
net.minecraft.src.C_90_
net.minecraft.server.players.UserCache

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_25805
f_esihftsh
LOGGER
LOGGER
f_10964_
private static final int
b
GAMEPROFILES_MRU_LIMIT
field_29788
f_zkgkjgvr
MAX_SAVED_ENTRIES
MAX_SAVED_ENTRIES
f_143955_
private static final int
c
GAMEPROFILES_EXPIRATION_MONTHS
field_29789
f_lkcysawg
field_29789
EXPIRATION_MONTHS
f_143956_
private static boolean
d
usesAuthentication
field_14313
f_okmyqllf
useRemote
useRemote
f_10965_
private final Map<String, GameProfileCache$GameProfileInfo>
e
profilesByName
field_14312
f_efnhwmdc
byName
byName
f_10966_
private final Map<UUID, GameProfileCache$GameProfileInfo>
f
profilesByUUID
field_14310
f_bdvyqlxf
byUuid
byUuid
f_10967_
private final Map<String, CompletableFuture<Optional<com.mojang.authlib.GameProfile>>>
g
requests
field_33860
f_kciivbdp
pendingRequests
pendingRequests
f_143957_
private final com.mojang.authlib.GameProfileRepository
h
profileRepository
field_14315
f_hwskcdke
profileRepository
profileRepository
f_10968_
private final com.google.gson.Gson
i
gson
field_14318
f_hwcqxwlt
gson
gson
f_10969_
private final File
j
file
field_14314
f_vaekkarg
cacheFile
cacheFile
f_10970_
private final AtomicLong
k
operationCount
field_25724
f_sviioeuv
accessCount
accessCount
f_10971_
private Executor
l
executor
field_33861
f_khprbmqw
executor
executor
f_143958_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(akn$a arg0)
safeAdd(GameProfileCache$GameProfileInfo arg0)
method_30164(class_3312$class_3313 arg0)
m_fvtljgha(C_jyqwslie$C_qruesmfp arg0)
add(UserCache$Entry entry)
add(UserCache$Entry entry)
m_10979_(C_90_$C_92_ arg0)
private static Optional<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)
m_qcgfhvzw(com.mojang.authlib.GameProfileRepository arg0, String arg1)
findProfileByName(com.mojang.authlib.GameProfileRepository repository, String name)
findProfileByName(com.mojang.authlib.GameProfileRepository repository, String name)
m_10993_(com.mojang.authlib.GameProfileRepository p_10994_, String p_10995_)
public static void
a(boolean arg0)
setUsesAuthentication(boolean arg0)
method_14510(boolean arg0)
m_vlbvwslq(boolean arg0)
setUseRemote(boolean value)
setUseRemote(boolean value)
m_11004_(boolean p_11005_)
private static boolean
d()
usesAuthentication()
method_14514()
m_mhkvcozj()
shouldUseRemote()
shouldUseRemote()
m_11007_()
public void
a(com.mojang.authlib.GameProfile arg0)
add(com.mojang.authlib.GameProfile arg0)
method_14508(com.mojang.authlib.GameProfile arg0)
m_soafsxnh(com.mojang.authlib.GameProfile arg0)
add(com.mojang.authlib.GameProfile profile)
add(com.mojang.authlib.GameProfile profile)
m_10991_(com.mojang.authlib.GameProfile arg0)
private long
e()
getNextOperation()
method_30169()
m_ecsofuym()
incrementAndGetAccessCount()
incrementAndGetAccessCount()
m_11008_()
public Optional<com.mojang.authlib.GameProfile>
a(String arg0)
get(String arg0)
method_14515(String arg0)
m_uieecydh(String arg0)
findByName(String name)
findByName(String name)
m_10996_(String arg0)
public void
a(String arg0, Consumer<Optional<com.mojang.authlib.GameProfile>> arg1)
getAsync(String arg0, Consumer<Optional<com.mojang.authlib.GameProfile>> arg1)
method_37156(String arg0, Consumer<Optional<com.mojang.authlib.GameProfile>> arg1)
m_wsmmmysu(String arg0, Consumer<Optional<com.mojang.authlib.GameProfile>> arg1)
findByNameAsync(String username, Consumer<Optional<com.mojang.authlib.GameProfile>> consumer)
findByNameAsync(String username, Consumer<Optional<com.mojang.authlib.GameProfile>> consumer)
m_143967_(String p_143969_, Consumer<Optional<com.mojang.authlib.GameProfile>> arg1)
public Optional<com.mojang.authlib.GameProfile>
a(UUID arg0)
get(UUID arg0)
method_14512(UUID arg0)
m_ibnbskll(UUID arg0)
getByUuid(UUID uuid)
getByUuid(UUID uuid)
m_11002_(UUID arg0)
public void
a(Executor arg0)
setExecutor(Executor arg0)
method_37157(Executor arg0)
m_cwjwuxvy(Executor arg0)
setExecutor(Executor executor)
setExecutor(Executor executor)
m_143974_(Executor arg0)
public void
a()
clearExecutor()
method_39753()
m_isvipnku()
clearExecutor()
clearExecutor()
m_196559_()
private static DateFormat
f()
createDateFormat()
method_30170()
m_akxutvud()
getDateFormat()
getDateFormat()
m_11009_()
public List<GameProfileCache$GameProfileInfo>
b()
load()
method_14517()
m_uonvyifw()
load()
load()
m_10976_()
public void
c()
save()
method_14518()
m_bclynljx()
save()
save()
m_11006_()
private Stream<GameProfileCache$GameProfileInfo>
a(int arg0)
getTopMRUProfiles(int arg0)
method_14516(int arg0)
m_vfuqvfir(int arg0)
getLastAccessedEntries(int limit)
getLastAccessedEntries(int limit)
m_10977_(int arg0)
private static com.google.gson.JsonElement
a(akn$a arg0, DateFormat arg1)
writeGameProfile(GameProfileCache$GameProfileInfo arg0, DateFormat arg1)
method_30165(class_3312$class_3313 arg0, DateFormat arg1)
m_xyjytdmc(C_jyqwslie$C_qruesmfp arg0, DateFormat arg1)
entryToJson(UserCache$Entry entry, DateFormat dateFormat)
entryToJson(UserCache$Entry entry, DateFormat dateFormat)
m_10981_(C_90_$C_92_ p_10982_, DateFormat p_10983_)
private static Optional<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)
m_nztdenmk(com.google.gson.JsonElement arg0, DateFormat arg1)
entryFromJson(com.google.gson.JsonElement json, DateFormat dateFormat)
entryFromJson(com.google.gson.JsonElement json, DateFormat dateFormat)
m_10988_(com.google.gson.JsonElement p_10989_, DateFormat p_10990_)