net.minecraft.network.protocol.handshake

public record ClientIntentionPacket

implements Packet<ServerHandshakePacketListener>

aix
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
b
protocolVersion
comp_1563
protocolVersion
f_134720_
private final String
c
hostName
comp_1564
address
f_134721_
private final int
d
port
comp_1565
port
f_134722_
private final ClientIntent
e
intention
comp_1566
intendedState
f_134723_
public static final StreamCodec<FriendlyByteBuf, ClientIntentionPacket>
a
STREAM_CODEC
field_48229
CODEC
f_317116_
private static final int
f
MAX_HOST_LENGTH
field_33372
MAX_ADDRESS_LENGTH
f_179799_

Constructor summary

ModifierConstructor
public (int hostName, String port, int intention, ClientIntent arg3)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_56007(class_2540 arg0)
write(PacketByteBuf buf)
m_134736_(C_4983_ arg0)
public PacketType<ClientIntentionPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aja arg0)
handle(ServerHandshakePacketListener arg0)
method_12575(class_2890 arg0)
apply(ServerHandshakePacketListener arg0)
m_5797_(C_5201_ arg0)
public boolean
d()
isTerminal()
method_55943()
transitionsNetworkState()
m_319635_()
public int
b()
protocolVersion()
comp_1563()
protocolVersion()
f_134720_()
public String
e()
hostName()
comp_1564()
address()
f_134721_()
public int
f()
port()
comp_1565()
port()
f_134722_()
public ClientIntent
g()
intention()
comp_1566()
intendedState()
f_134723_()