net.minecraft.network.protocol.handshake

public record ClientIntentionPacket

implements Packet<ServerHandshakePacketListener>

ajp
net.minecraft.network.protocol.handshake.ClientIntentionPacket
net.minecraft.class_2889
net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket
net.minecraft.network.protocol.handshake.PacketHandshakingInSetProtocol

Field summary

Modifier and TypeField
private final int
b
protocolVersion
comp_1563
protocolVersion
private final String
c
hostName
comp_1564
address
private final int
d
port
comp_1565
port
private final ClientIntent
e
intention
comp_1566
intendedState
public static final StreamCodec<FriendlyByteBuf, ClientIntentionPacket>
a
STREAM_CODEC
field_48229
CODEC
private static final int
f
MAX_HOST_LENGTH
field_33372
MAX_ADDRESS_LENGTH

Constructor summary

ModifierConstructor
public (int arg0, String arg1, int arg2, ClientIntent arg3)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_56007(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientIntentionPacket>
a()
type()
method_55846()
getPacketId()
public void
a(ajs arg0)
handle(ServerHandshakePacketListener arg0)
method_12575(class_2890 arg0)
apply(ServerHandshakePacketListener arg0)
public boolean
d()
isTerminal()
method_55943()
transitionsNetworkState()
public int
b()
protocolVersion()
comp_1563()
protocolVersion()
public String
e()
hostName()
comp_1564()
address()
public int
f()
port()
comp_1565()
port()
public ClientIntent
g()
intention()
comp_1566()
intendedState()