net.minecraft.network.protocol.handshake

public class ClientIntentionPacket

implements Packet<ServerHandshakePacketListener>

ws
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 static final int
a
MAX_HOST_LENGTH
field_33372
MAX_ADDRESS_LENGTH
f_179799_
private final int
b
protocolVersion
field_13158
protocolVersion
f_134720_
private final String
c
hostName
field_13159
address
f_134721_
private final int
d
port
field_13157
port
f_134722_
private final ConnectionProtocol
e
intention
field_13156
intendedState
f_134723_

Constructor summary

ModifierConstructor
public (String address, int port, ConnectionProtocol intendedState)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(pn arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(wt arg0)
handle(ServerHandshakePacketListener arg0)
method_12575(class_2890 arg0)
apply(ServerHandshakePacketListener arg0)
m_5797_(C_5201_ arg0)
public ConnectionProtocol
b()
getIntention()
method_12573()
getIntendedState()
m_134735_()
public int
c()
getProtocolVersion()
method_12574()
getProtocolVersion()
m_134738_()
public String
d()
getHostName()
method_36174()
getAddress()
m_179802_()
public int
e()
getPort()
method_36175()
getPort()
m_179803_()