Uses of Record Class
net.minecraft.network.encryption.PlayerPublicKey
Packages that use PlayerPublicKey
Package
Description
The base package for all Minecraft classes.
-
Uses of PlayerPublicKey in net.minecraft
Methods in net.minecraft with parameters of type PlayerPublicKeyModifier and TypeMethodDescriptionbooleanclass_7471.method_43867(PlayerPublicKey playerPublicKey) -
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 playerPublicKey) OtherClientPlayerEntity(ClientWorld world, com.mojang.authlib.GameProfile profile, PlayerPublicKey playerPublicKey) -
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.entity.player
Fields in net.minecraft.entity.player declared as PlayerPublicKeyModifier and TypeFieldDescriptionprivate final @Nullable PlayerPublicKeyPlayerEntity.field_39118Methods 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 profile, @Nullable PlayerPublicKey playerPublicKey) -
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.method_43698(PlayerPublicKey.class_7443 class_7443) PlayerKeyPair.publicKey()Returns the value of thepublicKeyrecord component.static PlayerPublicKeyPlayerPublicKey.verifyAndDecode(com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService, PlayerPublicKey.class_7443 class_7443) 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.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 playerPublicKey) -
Uses of PlayerPublicKey in net.minecraft.server.network
Fields in net.minecraft.server.network declared as PlayerPublicKeyModifier and TypeFieldDescriptionprivate @Nullable PlayerPublicKeyServerLoginNetworkHandler.publicKeyInfoMethods in net.minecraft.server.network that return PlayerPublicKeyModifier and TypeMethodDescriptionprivate static @Nullable PlayerPublicKeyServerLoginNetworkHandler.getVerifiedPublicKey(LoginHelloC2SPacket packet, com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService, boolean shouldThrowOnMissingKey) Constructors in net.minecraft.server.network with parameters of type PlayerPublicKeyModifierConstructorDescriptionServerPlayerEntity(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, @Nullable PlayerPublicKey playerPublicKey)