net.minecraft.network.packet.c2s.config

public record AcceptCodeOfConductC2SPacket

implements Packet<ServerConfigurationPacketListener>

net.minecraft.network.protocol.configuration.ServerboundAcceptCodeOfConductPacket
net.minecraft.class_11752
net.minecraft.network.packet.c2s.config.AcceptCodeOfConductC2SPacket

Field summary

Modifier and TypeField
public static final AcceptCodeOfConductC2SPacket
INSTANCE
field_62060
INSTANCE
public static final PacketCodec<io.netty.buffer.ByteBuf, AcceptCodeOfConductC2SPacket>
STREAM_CODEC
field_62061
CODEC

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public PacketType<AcceptCodeOfConductC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerConfigurationPacketListener listener)
method_73260(class_8735 arg0)
apply(ServerConfigurationPacketListener arg0)
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)