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 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 TypeMethodDescriptionPlayerKeyPair.publicKey()
Returns the value of thepublicKey
record component.static PlayerPublicKey
PlayerPublicKey.verifyAndDecode
(SignatureVerifier servicesSignatureVerifier, UUID playerUuid, PlayerPublicKey.PublicKeyData publicKeyData, Duration duration) Verifies the public key and decodes it.ModifierConstructorDescriptionPlayerKeyPair
(PrivateKey privateKey, PlayerPublicKey playerPublicKey, Instant instant) -
Uses of PlayerPublicKey in net.minecraft.network.message
Modifier and TypeFieldDescriptionprivate final @Nullable PlayerPublicKey
MessageSourceProfile.playerPublicKey
The field for theplayerPublicKey
record component.Modifier and TypeMethodDescriptionMessageSourceProfile.playerPublicKey()
Returns the value of theplayerPublicKey
record component.Modifier and TypeMethodDescriptionstatic MessageVerifier
MessageVerifier.create
(@Nullable PlayerPublicKey publicKey, boolean secureChatEnforced) boolean
SignedMessage.verify
(PlayerPublicKey key) Returns whether the message can be verified using the public key.ModifierConstructorDescriptionMessageSourceProfile
(UUID uUID, @Nullable PlayerPublicKey playerPublicKey) -
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 TypeMethodDescriptionprivate static @Nullable PlayerPublicKey
ServerLoginNetworkHandler.getVerifiedPublicKey
(PlayerPublicKey.PublicKeyData publicKeyData, UUID playerUuid, SignatureVerifier servicesSignatureVerifier, boolean shouldThrowOnMissingKey) ModifierConstructorDescriptionServerPlayerEntity
(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey publicKey)