net.minecraft.network.packet.s2c.config

public record CodeOfConductS2CPacket

implements Packet<ClientConfigurationPacketListener>

net.minecraft.network.protocol.configuration.ClientboundCodeOfConductPacket
net.minecraft.class_11751
net.minecraft.network.packet.s2c.config.CodeOfConductS2CPacket

Field summary

Modifier and TypeField
private final String
codeOfConduct
comp_4623
codeOfConduct
public static final PacketCodec<io.netty.buffer.ByteBuf, CodeOfConductS2CPacket>
STREAM_CODEC
field_62057
CODEC

Constructor summary

ModifierConstructor
public (String codeOfConduct)

Method summary

Modifier and TypeMethod
public PacketType<CodeOfConductS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientConfigurationPacketListener listener)
method_73258(class_8732 arg0)
apply(ClientConfigurationPacketListener arg0)
public String
codeOfConduct()
comp_4623()
codeOfConduct()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)