net.minecraft.network.packet.s2c.login

public record LoginKeyS2CPacket

implements Packet<ClientLoginPacketListener>

net.minecraft.network.protocol.login.ClientboundKeyPacket
net.minecraft.class_1_1875
net.minecraft.network.packet.s2c.login.LoginKeyS2CPacket

Field summary

Modifier and TypeField
private final String
serverId
comp_1_2045
serverId
private final byte[]
publicKey
comp_1_2044
publicKey
private final byte[]
challenge
comp_1_2043
challenge
private final boolean
shouldAuthenticate
comp_1_2046
shouldAuthenticate
public static final PacketCodec<io.netty.buffer.ByteBuf, LoginKeyS2CPacket>
STREAM_CODEC
field_1_12109
CODEC

Constructor summary

ModifierConstructor
public (String serverId, byte[] publicKey, byte[] challenge, boolean shouldAuthenticate)

Method summary

Modifier and TypeMethod
public PacketType<LoginKeyS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientLoginPacketListener listener)
method_1_11919(class_2896 arg0)
apply(ClientLoginPacketListener arg0)
public String
serverId()
comp_1_2045()
serverId()
public byte[]
publicKey()
comp_1_2044()
publicKey()
public byte[]
challenge()
comp_1_2043()
challenge()
public boolean
shouldAuthenticate()
comp_1_2046()
shouldAuthenticate()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)