net.minecraft.network.protocol.common

public record ClientboundDisconnectPacket

implements Packet<ClientCommonPacketListener>

zp
net.minecraft.network.protocol.common.ClientboundDisconnectPacket
net.minecraft.class_2661
net.minecraft.network.packet.s2c.common.DisconnectS2CPacket
net.minecraft.src.C_290230_
net.minecraft.network.protocol.common.ClientboundDisconnectPacket

Field summary

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

Constructor summary

ModifierConstructor
public (Component arg0)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundDisconnectPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(zm arg0)
handle(ClientCommonPacketListener arg0)
method_11467(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
m_5797_(C_290099_ arg0)
public Component
b()
reason()
comp_2325()
reason()
f_290553_()