net.minecraft.network.protocol.handshake

public record ClientIntentionPacket

implements Packet<ServerHandshakePacketListener>

akj
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

字段概要

修饰符与类型字段
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_

构造函数概要

修饰符构造函数
public (int protocolVersion, String address, int port, ClientIntent intendedState)
private (FriendlyByteBuf buf)

方法概要

修饰符与类型方法
private void
a(wx arg0)
write(FriendlyByteBuf arg0)
method_56007(class_2540 arg0)
write(PacketByteBuf buf)
m_134736_(C_4983_ arg0)
public PacketType<ClientIntentionPacket>
a()
type()
method_65080()
getPacketType()
m_5779_()
public void
a(akm 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_()