net.minecraft.network.packet.s2c.common

public record ShowDialogS2CPacket

implements Packet<ClientCommonPacketListener>

net.minecraft.network.protocol.common.ClientboundShowDialogPacket
net.minecraft.class_11407
net.minecraft.network.packet.s2c.common.ShowDialogS2CPacket

Field summary

Modifier and TypeField
private final RegistryEntry<Dialog>
dialog
comp_4281
dialog
public static final PacketCodec<RegistryByteBuf, ShowDialogS2CPacket>
STREAM_CODEC
field_60604
REGISTRY_CODEC
public static final PacketCodec<io.netty.buffer.ByteBuf, ShowDialogS2CPacket>
CONTEXT_FREE_STREAM_CODEC
field_60605
CODEC

Constructor summary

ModifierConstructor
public (RegistryEntry<Dialog> dialog)

Method summary

Modifier and TypeMethod
public PacketType<ShowDialogS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientCommonPacketListener listener)
method_71668(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
public RegistryEntry<Dialog>
dialog()
comp_4281()
dialog()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)