Uses of Record Class
net.minecraft.network.encryption.PlayerPublicKey
Packages that use PlayerPublicKey
Package
Description
-
Uses of PlayerPublicKey in net.minecraft.client.network
Fields in net.minecraft.client.network declared as PlayerPublicKeyModifier and TypeFieldDescriptionprivate final @Nullable PlayerPublicKeyPlayerListEntry.publicKeyDataMethods in net.minecraft.client.network that return PlayerPublicKeyConstructors in net.minecraft.client.network with parameters of type PlayerPublicKeyModifierConstructorDescriptionAbstractClientPlayerEntity(ClientWorld world, com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey publicKey) OtherClientPlayerEntity(ClientWorld world, com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey publicKey) -
Uses of PlayerPublicKey in net.minecraft.client.util
Fields in net.minecraft.client.util with type parameters of type PlayerPublicKeyModifier and TypeFieldDescriptionprivate final CompletableFuture<Optional<PlayerPublicKey>>ProfileKeys.publicKeyFutureMethods in net.minecraft.client.util that return types with arguments of type PlayerPublicKeyModifier and TypeMethodDescriptionProfileKeys.getPublicKey()Returns the public key, ornullif there is no public key associated with the profile. -
Uses of PlayerPublicKey in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as PlayerPublicKeyMethods in net.minecraft.entity.player that return PlayerPublicKeyConstructors in net.minecraft.entity.player with parameters of type PlayerPublicKeyModifierConstructorDescriptionPlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile, @Nullable PlayerPublicKey publicKey) -
Uses of PlayerPublicKey in net.minecraft.network.encryption
Fields in net.minecraft.network.encryption declared as PlayerPublicKeyModifier and TypeFieldDescriptionprivate final PlayerPublicKeyPlayerKeyPair.publicKeyThe field for thepublicKeyrecord component.Fields in net.minecraft.network.encryption with type parameters of type PlayerPublicKeyModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerPublicKey>PlayerPublicKey.CODECMethods in net.minecraft.network.encryption that return PlayerPublicKeyModifier and TypeMethodDescriptionstatic PlayerPublicKeyPlayerPublicKey.fromKeyData(PlayerPublicKey.PublicKeyData publicKeyData) PlayerKeyPair.publicKey()Returns the value of thepublicKeyrecord component.static PlayerPublicKeyPlayerPublicKey.verifyAndDecode(SignatureVerifier servicesSignatureVerifier, UUID uUID, PlayerPublicKey.PublicKeyData publicKeyData) Verifies the public key and decodes it.Constructors in net.minecraft.network.encryption with parameters of type PlayerPublicKeyModifierConstructorDescriptionPlayerKeyPair(PrivateKey privateKey, PlayerPublicKey playerPublicKey, Instant instant) -
Uses of PlayerPublicKey in net.minecraft.network.message
Methods in net.minecraft.network.message with parameters of type PlayerPublicKeyModifier and TypeMethodDescriptionbooleanSignedMessage.verify(PlayerPublicKey key) Returns whether the message can be verified using the public key. -
Uses of PlayerPublicKey in net.minecraft.network.packet.c2s.login
Methods in net.minecraft.network.packet.c2s.login with parameters of type PlayerPublicKeyModifier and TypeMethodDescriptionbooleanLoginKeyC2SPacket.verifySignedNonce(byte[] nonce, PlayerPublicKey publicKeyInfo) -
Uses of PlayerPublicKey in net.minecraft.server
Methods in net.minecraft.server with parameters of type PlayerPublicKeyModifier and TypeMethodDescriptionPlayerManager.createPlayer(com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey publicKey) -
Uses of PlayerPublicKey in net.minecraft.server.network
Methods in net.minecraft.server.network that return PlayerPublicKeyModifier and TypeMethodDescriptionprivate static @Nullable PlayerPublicKeyServerLoginNetworkHandler.getVerifiedPublicKey(PlayerPublicKey.PublicKeyData publicKeyData, UUID uUID, SignatureVerifier signatureVerifier, boolean bool) Constructors in net.minecraft.server.network with parameters of type PlayerPublicKeyModifierConstructorDescriptionServerPlayerEntity(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey publicKey)