Uses of Record Class
net.minecraft.network.encryption.PlayerKeyPair
-
Uses of PlayerKeyPair in net.minecraft.client.util
Modifier and TypeFieldDescriptionprivate final PlayerKeyPair
ProfileKeys.class_7653.keyPair
The field for thekeyPair
record component.Modifier and TypeMethodDescriptionprivate PlayerKeyPair
ProfileKeys.fetchKeyPair
(com.mojang.authlib.minecraft.UserApiService userApiService) Returns the key pair fetched from Mojang's server.ProfileKeys.class_7653.keyPair()
Returns the value of thekeyPair
record component.Modifier and TypeMethodDescriptionprivate Optional<PlayerKeyPair>
ProfileKeys.loadKeyPairFromFile()
Returns the profile keys from the local cache.Modifier and TypeMethodDescriptionprivate void
ProfileKeys.saveKeyPairToFile
(@Nullable PlayerKeyPair keyPair) Saves thekeyPair
to the cache file.Modifier and TypeMethodDescriptionprivate CompletableFuture<Optional<ProfileKeys.class_7653>>
ProfileKeys.getKeyPair
(Optional<PlayerKeyPair> optional) Gets the key pair from the file cache, or if it is unavailable or expired, the Mojang server.ModifierConstructorDescriptionclass_7653
(PlayerKeyPair playerKeyPair) private
class_7653
(PlayerKeyPair playerKeyPair, Signer signer) -
Uses of PlayerKeyPair in net.minecraft.network.encryption
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerKeyPair>
PlayerKeyPair.CODEC