Uses of Record Class
net.minecraft.network.encryption.PlayerKeyPair
Packages that use PlayerKeyPair
Package
Description
-
Uses of PlayerKeyPair in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type PlayerKeyPairModifier and TypeMethodDescriptionvoidClientPlayNetworkHandler.updateKeyPair(PlayerKeyPair keyPair) -
Uses of PlayerKeyPair in net.minecraft.client.util
Fields in net.minecraft.client.util with type parameters of type PlayerKeyPairModifier and TypeFieldDescriptionprivate CompletableFuture<Optional<PlayerKeyPair>>ProfileKeysImpl.keyFutureMethods in net.minecraft.client.util that return PlayerKeyPairModifier and TypeMethodDescriptionprivate PlayerKeyPairProfileKeysImpl.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 TypeMethodDescriptionProfileKeys.fetchKeyPair()ProfileKeysImpl.fetchKeyPair()private CompletableFuture<Optional<PlayerKeyPair>>ProfileKeysImpl.getKeyPair(Optional<PlayerKeyPair> currentKey) Gets the key pair from the file cache, or if it is unavailable or expired, the Mojang server.private Optional<PlayerKeyPair>ProfileKeysImpl.loadKeyPairFromFile()Returns the profile keys from the local cache.Methods in net.minecraft.client.util with parameters of type PlayerKeyPairModifier and TypeMethodDescriptionprivate voidProfileKeysImpl.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<PlayerKeyPair>>ProfileKeysImpl.getKeyPair(Optional<PlayerKeyPair> currentKey) Gets the key pair from the file cache, or if it is unavailable or expired, the Mojang server. -
Uses of PlayerKeyPair in net.minecraft.network.encryption
Fields in net.minecraft.network.encryption declared as PlayerKeyPairModifier and TypeFieldDescriptionprivate final PlayerKeyPairClientPlayerSession.keyPairThe field for thekeyPairrecord component.Fields in net.minecraft.network.encryption with type parameters of type PlayerKeyPairModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerKeyPair>PlayerKeyPair.CODECMethods in net.minecraft.network.encryption that return PlayerKeyPairModifier and TypeMethodDescriptionClientPlayerSession.keyPair()Returns the value of thekeyPairrecord component.Methods in net.minecraft.network.encryption with parameters of type PlayerKeyPairModifier and TypeMethodDescriptionstatic ClientPlayerSessionClientPlayerSession.create(PlayerKeyPair keyPair) Constructors in net.minecraft.network.encryption with parameters of type PlayerKeyPair