net.minecraft.network.protocol.handshake

public class ClientIntentionPacket

implements Packet<ServerHandshakePacketListener>

st
net.minecraft.network.protocol.handshake.ClientIntentionPacket
net.minecraft.class_2889
net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket
net.minecraft.network.handshake.client.CHandshakePacket
net.minecraft.server.v1_16_R1.PacketHandshakingInSetProtocol

Field summary

Modifier and TypeField
private int
a
protocolVersion
field_13158
protocolVersion
field_149600_a
private String
b
hostName
field_13159
address
field_149598_b
hostname
private int
c
port
field_13157
port
field_149599_c
port
private ConnectionProtocol
d
intention
field_13156
intendedState
field_149597_d

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(mg arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(mg arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(su arg0)
handle(ServerHandshakePacketListener arg0)
method_12575(class_2890 arg0)
apply(ServerHandshakePacketListener arg0)
func_148833_a(IHandshakeNetHandler arg0)
public ConnectionProtocol
b()
getIntention()
method_12573()
getIntendedState()
func_149594_c()
public int
c()
getProtocolVersion()
method_12574()
getProtocolVersion()
func_149595_d()