Uses of Record Class
net.minecraft.network.encryption.PlayerPublicKey
Packages that use PlayerPublicKey
Package
Description
-
Uses of PlayerPublicKey in net.minecraft.client.util
Methods in net.minecraft.client.util that return PlayerPublicKeyModifier and TypeMethodDescriptionProfileKeys.getPublicKey()Returns the public key, ornullif there is no public key associated with the profile. -
Uses of PlayerPublicKey in net.minecraft.network.encryption
Fields in net.minecraft.network.encryption declared as PlayerPublicKeyModifier and TypeFieldDescriptionprivate final PlayerPublicKeyPlayerPublicKey.PublicKeyData.dataThe field for thedatarecord component.private 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 TypeMethodDescriptionPlayerPublicKey.PublicKeyData.data()Returns the value of thedatarecord component.PlayerKeyPair.publicKey()Returns the value of thepublicKeyrecord component.Methods in net.minecraft.network.encryption that return types with arguments of type PlayerPublicKeyModifier and TypeMethodDescriptionstatic Optional<PlayerPublicKey>PlayerPublicKey.fromGameProfile(com.mojang.authlib.GameProfile gameProfile) Returns the public key extracted from thegameProfile.Constructors in net.minecraft.network.encryption with parameters of type PlayerPublicKeyModifierConstructorDescriptionPlayerKeyPair(PrivateKey privateKey, PlayerPublicKey playerPublicKey, Instant instant) PublicKeyData(PublicKey publicKey, PlayerPublicKey playerPublicKey) -
Uses of PlayerPublicKey in net.minecraft.network.packet.c2s.login
Fields in net.minecraft.network.packet.c2s.login with type parameters of type PlayerPublicKeyModifier and TypeFieldDescriptionprivate final Optional<PlayerPublicKey>LoginHelloC2SPacket.publicKeyThe field for thepublicKeyrecord component.Methods in net.minecraft.network.packet.c2s.login that return types with arguments of type PlayerPublicKeyModifier and TypeMethodDescriptionLoginHelloC2SPacket.publicKey()Returns the value of thepublicKeyrecord component.Constructor parameters in net.minecraft.network.packet.c2s.login with type arguments of type PlayerPublicKeyModifierConstructorDescriptionLoginHelloC2SPacket(String string, Optional<PlayerPublicKey> optional)