net.minecraft.network.protocol.login

public class ClientboundHelloPacket

implements Packet<ClientLoginPacketListener>

ajw
net.minecraft.network.protocol.login.ClientboundHelloPacket
net.minecraft.class_2905
net.minecraft.network.packet.s2c.login.LoginHelloS2CPacket
net.minecraft.network.protocol.login.PacketLoginOutEncryptionBegin

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundHelloPacket>
a
STREAM_CODEC
field_48234
CODEC
private final String
b
serverId
field_13209
serverId
private final byte[]
c
publicKey
field_13211
publicKey
private final byte[]
d
challenge
field_13210
nonce
private final boolean
e
shouldAuthenticate
field_48235
needsAuthentication

Constructor summary

ModifierConstructor
public (String serverId, byte[] publicKey, byte[] nonce, boolean needsAuthentication)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_56012(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundHelloPacket>
a()
type()
method_55846()
getPacketId()
public void
a(aju arg0)
handle(ClientLoginPacketListener arg0)
method_12612(class_2896 arg0)
apply(ClientLoginPacketListener arg0)
public String
b()
getServerId()
method_12610()
getServerId()
public PublicKey
e()
getPublicKey()
method_12611()
getPublicKey()
public byte[]
f()
getChallenge()
method_12613()
getNonce()
public boolean
g()
shouldAuthenticate()
method_56013()
needsAuthentication()