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 PlayerPublicKey
PlayerListEntry.publicKeyData
Methods 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
Methods in net.minecraft.client.util that return types with arguments of type PlayerPublicKeyModifier and TypeMethodDescriptionProfileKeys.getPublicKey()
Returns the public key, orOptional.empty()
if 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 PlayerPublicKey
PlayerKeyPair.publicKey
The field for thepublicKey
record component.Fields in net.minecraft.network.encryption with type parameters of type PlayerPublicKeyModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerPublicKey>
PlayerPublicKey.CODEC
Methods in net.minecraft.network.encryption that return PlayerPublicKeyModifier and TypeMethodDescriptionPlayerKeyPair.publicKey()
Returns the value of thepublicKey
record component.static PlayerPublicKey
PlayerPublicKey.verifyAndDecode
(SignatureVerifier servicesSignatureVerifier, UUID playerUuid, PlayerPublicKey.PublicKeyData publicKeyData, Duration gracePeriod) 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
Fields in net.minecraft.network.message declared as PlayerPublicKeyModifier and TypeFieldDescriptionprivate final @Nullable PlayerPublicKey
MessageSourceProfile.playerPublicKey
The field for theplayerPublicKey
record component.Methods in net.minecraft.network.message that return PlayerPublicKeyModifier and TypeMethodDescriptionMessageSourceProfile.playerPublicKey()
Returns the value of theplayerPublicKey
record component.Methods in net.minecraft.network.message with parameters of type PlayerPublicKeyModifier 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.Constructors in net.minecraft.network.message with parameters of type PlayerPublicKeyModifierConstructorDescriptionMessageSourceProfile
(UUID uUID, @Nullable PlayerPublicKey playerPublicKey) -
Uses of PlayerPublicKey in net.minecraft.network.packet.c2s.login
Methods in net.minecraft.network.packet.c2s.login with parameters of type PlayerPublicKeyModifier and TypeMethodDescriptionboolean
LoginKeyC2SPacket.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 PlayerPublicKey
ServerLoginNetworkHandler.getVerifiedPublicKey
(PlayerPublicKey.PublicKeyData publicKeyData, UUID playerUuid, SignatureVerifier servicesSignatureVerifier, boolean shouldThrowOnMissingKey) Constructors in net.minecraft.server.network with parameters of type PlayerPublicKeyModifierConstructorDescriptionServerPlayerEntity
(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey publicKey)