Uses of Record Class
net.minecraft.network.encryption.PlayerPublicKey
Package
Description
-
Uses of PlayerPublicKey in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate final @Nullable PlayerPublicKey
PlayerListEntry.publicKeyData
ModifierConstructorDescriptionAbstractClientPlayerEntity
(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
Modifier and TypeFieldDescriptionprivate final CompletableFuture<Optional<PlayerPublicKey>>
ProfileKeys.publicKeyFuture
Modifier and TypeMethodDescriptionProfileKeys.getPublicKey()
Returns the public key, ornull
if there is no public key associated with the profile. -
Uses of PlayerPublicKey in net.minecraft.entity.player
ModifierConstructorDescriptionPlayerEntity
(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile, @Nullable PlayerPublicKey publicKey) -
Uses of PlayerPublicKey in net.minecraft.network.encryption
Modifier and TypeFieldDescriptionprivate final PlayerPublicKey
PlayerKeyPair.publicKey
The field for thepublicKey
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerPublicKey>
PlayerPublicKey.CODEC
Modifier and TypeMethodDescriptionstatic PlayerPublicKey
PlayerPublicKey.fromKeyData
(PlayerPublicKey.PublicKeyData publicKeyData) PlayerKeyPair.publicKey()
Returns the value of thepublicKey
record component.static PlayerPublicKey
PlayerPublicKey.verifyAndDecode
(SignatureVerifier servicesSignatureVerifier, PlayerPublicKey.PublicKeyData publicKeyData) Verifies the public key and decodes it.ModifierConstructorDescriptionPlayerKeyPair
(PrivateKey privateKey, PlayerPublicKey playerPublicKey, Instant instant) -
Uses of PlayerPublicKey in net.minecraft.network.message
Modifier and TypeMethodDescriptionboolean
SignedMessage.verify
(PlayerPublicKey key) Returns whether the message can be verified using the public key. -
Uses of PlayerPublicKey in net.minecraft.network.packet.c2s.login
Modifier and TypeMethodDescriptionboolean
LoginKeyC2SPacket.verifySignedNonce
(byte[] nonce, PlayerPublicKey publicKeyInfo) -
Uses of PlayerPublicKey in net.minecraft.server
Modifier and TypeMethodDescriptionPlayerManager.createPlayer
(com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey publicKey) -
Uses of PlayerPublicKey in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate @Nullable PlayerPublicKey
ServerLoginNetworkHandler.publicKey
Modifier and TypeMethodDescriptionprivate static @Nullable PlayerPublicKey
ServerLoginNetworkHandler.getVerifiedPublicKey
(LoginHelloC2SPacket packet, SignatureVerifier servicesSignatureVerifier, boolean shouldThrowOnMissingKey) ModifierConstructorDescriptionServerPlayerEntity
(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey publicKey)