Uses of Record Class
net.minecraft.network.encryption.PlayerKeyPair
Packages that use PlayerKeyPair
-
Uses of PlayerKeyPair in net.minecraft.client.util
Methods in net.minecraft.client.util that return PlayerKeyPairModifier and TypeMethodDescriptionprivate PlayerKeyPair
ProfileKeys.fetchKeyPair
(com.mojang.authlib.minecraft.UserApiService userApiService) Returns the key pair fetched from Mojang's server.Methods in net.minecraft.client.util that return types with arguments of type PlayerKeyPairModifier and TypeMethodDescriptionprivate CompletableFuture<Optional<PlayerKeyPair>>
ProfileKeys.getKeyPair
(com.mojang.authlib.minecraft.UserApiService userApiService) Gets the key pair from the file cache, or if it is unavailable or expired, the Mojang server.private Optional<PlayerKeyPair>
ProfileKeys.loadKeyPairFromFile()
Returns the profile keys from the local cache.Methods in net.minecraft.client.util with parameters of type PlayerKeyPairModifier and TypeMethodDescriptionprivate void
ProfileKeys.saveKeyPairToFile
(@Nullable PlayerKeyPair keyPair) Saves thekeyPair
to the cache file. -
Uses of PlayerKeyPair in net.minecraft.network.encryption
Fields in net.minecraft.network.encryption with type parameters of type PlayerKeyPairModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerKeyPair>
PlayerKeyPair.CODEC