net.minecraft.network.protocol.login

public class ClientboundHelloPacket

implements Packet<ClientLoginPacketListener>

ajf
net.minecraft.network.protocol.login.ClientboundHelloPacket
net.minecraft.class_2905
net.minecraft.network.packet.s2c.login.LoginHelloS2CPacket
net.minecraft.src.C_5206_
net.minecraft.network.protocol.login.PacketLoginOutEncryptionBegin

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_56012(class_2540 arg0)
write(PacketByteBuf buf)
m_134792_(C_4983_ arg0)
public PacketType<ClientboundHelloPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(ajc arg0)
handle(ClientLoginPacketListener arg0)
method_12612(class_2896 arg0)
apply(ClientLoginPacketListener arg0)
m_5797_(C_5202_ arg0)
public String
b()
getServerId()
method_12610()
getServerId()
m_134791_()
public PublicKey
e()
getPublicKey()
method_12611()
getPublicKey()
m_134794_()
public byte[]
f()
getChallenge()
method_12613()
getNonce()
m_252784_()
public boolean
g()
shouldAuthenticate()
method_56013()
needsAuthentication()
m_319283_()