net.minecraft.network.packet.c2s.handshake

public record HandshakeC2SPacket

implements Packet<ServerHandshakePacketListener>

adb
net.minecraft.network.protocol.handshake.ClientIntentionPacket
net.minecraft.class_2889
net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket
net.minecraft.unmapped.C_ftiizbuk
net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket
net.minecraft.src.C_5200_

Field summary

Modifier and TypeField
private final int
a
protocolVersion
comp_1563
protocolVersion
f_mifjghnz
protocolVersion
f_134720_
private final String
b
hostName
comp_1564
address
f_kyxgaxgu
address
f_134721_
private final int
c
port
comp_1565
port
f_krymkmpu
port
f_134722_
private final ConnectionIntent
d
intention
comp_1566
intendedState
f_bghrxzhy
intendedState
f_134723_
private static final int
e
MAX_HOST_LENGTH
field_33372
MAX_ADDRESS_LENGTH
f_rswigbdj
MAX_ADDRESS_LENGTH
f_179799_

Constructor summary

ModifierConstructor
public (int protocolVersion, String address, int port, ConnectionIntent intendedState)
public (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_pwnpydub(C_idfydwco arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(adc arg0)
handle(ServerHandshakePacketListener arg0)
method_12575(class_2890 arg0)
apply(ServerHandshakePacketListener arg0)
m_fwehsjcy(C_vpqgcfsm arg0)
apply(ServerHandshakePacketListener arg0)
m_5797_(C_5201_ arg0)
public NetworkState
c()
nextProtocol()
method_52273()
getNewNetworkState()
m_cuvjkrrj()
getNextNetworkState()
m_292588_()
public int
a()
protocolVersion()
comp_1563()
protocolVersion()
m_xtvmjzru()
protocolVersion()
f_134720_()
public String
d()
hostName()
comp_1564()
address()
m_rwkbiqpp()
hostName()
f_134721_()
public int
e()
port()
comp_1565()
port()
m_hezttkjy()
port()
f_134722_()
public ConnectionIntent
f()
intention()
comp_1566()
intendedState()
m_jxpimbry()
intention()
f_134723_()