Uses of Record Class
net.minecraft.network.encryption.PlayerKeyPair
Packages that use PlayerKeyPair
-
Uses of PlayerKeyPair in net.minecraft.client.util
Fields in net.minecraft.client.util declared as PlayerKeyPairModifier and TypeFieldDescriptionprivate final PlayerKeyPairProfileKeys.SignableKey.keyPairThe field for thekeyPairrecord component.Methods in net.minecraft.client.util that return PlayerKeyPairModifier and TypeMethodDescriptionprivate PlayerKeyPairProfileKeys.fetchKeyPair(com.mojang.authlib.minecraft.UserApiService userApiService) Returns the key pair fetched from Mojang's server.ProfileKeys.SignableKey.keyPair()Returns the value of thekeyPairrecord component.Methods in net.minecraft.client.util that return types with arguments of type PlayerKeyPairModifier and TypeMethodDescriptionprivate 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 voidProfileKeys.saveKeyPairToFile(@Nullable PlayerKeyPair keyPair) Saves thekeyPairto the cache file ifSharedConstants.isDevelopmentistrue; otherwise, just deletes the cache file.Method parameters in net.minecraft.client.util with type arguments of type PlayerKeyPairModifier and TypeMethodDescriptionprivate CompletableFuture<Optional<ProfileKeys.SignableKey>>ProfileKeys.getKeyPair(Optional<PlayerKeyPair> currentKey) Gets the key pair from the file cache, or if it is unavailable or expired, the Mojang server.Constructors in net.minecraft.client.util with parameters of type PlayerKeyPairModifierConstructorDescriptionSignableKey(PlayerKeyPair keyPair) privateSignableKey(PlayerKeyPair playerKeyPair, Signer signer) -
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