net.minecraft.network.protocol.common

public record ClientboundDisconnectPacket

implements Packet<ClientCommonPacketListener>

zf
net.minecraft.network.protocol.common.ClientboundDisconnectPacket
net.minecraft.class_2661
net.minecraft.network.packet.s2c.common.DisconnectS2CPacket
net.minecraft.network.protocol.common.ClientboundDisconnectPacket

Field summary

Modifier and TypeField
private final Component
b
reason
comp_2325
reason
public static final StreamCodec<io.netty.buffer.ByteBuf, ClientboundDisconnectPacket>
a
STREAM_CODEC
field_48622
CODEC

Constructor summary

ModifierConstructor
public (Component arg0)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundDisconnectPacket>
a()
type()
method_65080()
getPacketType()
public void
a(zc arg0)
handle(ClientCommonPacketListener arg0)
method_11467(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
public Component
b()
reason()
comp_2325()
reason()