net.minecraft.network.protocol.common

public record ClientboundTransferPacket

implements Packet<ClientCommonPacketListener>

zm
net.minecraft.network.protocol.common.ClientboundTransferPacket
net.minecraft.class_9151
net.minecraft.network.packet.s2c.common.ServerTransferS2CPacket
net.minecraft.network.protocol.common.ClientboundTransferPacket

Field summary

Modifier and TypeField
private final String
b
host
comp_2240
host
private final int
c
port
comp_2241
port
public static final StreamCodec<FriendlyByteBuf, ClientboundTransferPacket>
a
STREAM_CODEC
field_48629
CODEC

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_56469(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundTransferPacket>
a()
type()
method_65080()
getPacketType()
public void
a(zc arg0)
handle(ClientCommonPacketListener arg0)
method_56470(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
public String
b()
host()
comp_2240()
host()
public int
e()
port()
comp_2241()
port()