net.minecraft.server.players

public class GameProfileCache

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(aed$a arg0)
safeAdd(GameProfileCache$GameProfileInfo arg0)
method_30164(class_3312$class_3313 arg0)
m_fvtljgha(C_jyqwslie$C_qruesmfp arg0)
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)
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)
m_11004_(boolean p_11005_)
private static boolean
c()
usesAuthentication()
method_14514()
m_mhkvcozj()
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)
m_10991_(com.mojang.authlib.GameProfile arg0)
private long
d()
getNextOperation()
method_30169()
m_ecsofuym()
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)
m_10996_(String arg0)
getProfile(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)
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)
m_11002_(UUID arg0)
getProfile(UUID arg0)
public void
a(Executor arg0)
setExecutor(Executor arg0)
method_37157(Executor arg0)
m_cwjwuxvy(Executor arg0)
setExecutor(Executor executor)
m_143974_(Executor arg0)
private static DateFormat
e()
createDateFormat()
method_30170()
m_akxutvud()
getDateFormat()
m_11009_()
public List<GameProfileCache$GameProfileInfo>
a()
load()
method_14517()
m_uonvyifw()
load()
m_10976_()
public void
b()
save()
method_14518()
m_bclynljx()
save()
m_11006_()
private Stream<GameProfileCache$GameProfileInfo>
a(int arg0)
getTopMRUProfiles(int arg0)
method_14516(int arg0)
m_vfuqvfir(int arg0)
getLastAccessedEntries(int limit)
m_10977_(int arg0)
private static com.google.gson.JsonElement
a(aed$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)
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)
m_10988_(com.google.gson.JsonElement p_10989_, DateFormat p_10990_)