net.minecraft.network.protocol.handshake

public record ClientIntentionPacket

implements Packet<ServerHandshakePacketListener>

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

Field summary

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

Constructor summary

ModifierConstructor
public (int f_134721_, String f_134722_, int f_134723_, ClientIntent arg3)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 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_5797_(C_5201_ arg0)
public ConnectionProtocol
c()
nextProtocol()
method_52273()
getNewNetworkState()
m_292588_()
public int
a()
protocolVersion()
comp_1563()
protocolVersion()
f_134720_()
public String
d()
hostName()
comp_1564()
address()
f_134721_()
public int
e()
port()
comp_1565()
port()
f_134722_()
public ClientIntent
f()
intention()
comp_1566()
intendedState()
f_134723_()