net.minecraft.network.packet.c2s.common

public record ClientOptionsC2SPacket

implements Packet<ServerCommonPacketListener>

net.minecraft.network.protocol.common.ServerboundClientInformationPacket
net.minecraft.class_2803
net.minecraft.network.packet.c2s.common.ClientOptionsC2SPacket

Field summary

Modifier and TypeField
private final SyncedClientOptions
information
comp_1963
options
public static final PacketCodec<PacketByteBuf, ClientOptionsC2SPacket>
STREAM_CODEC
field_48645
CODEC

Constructor summary

ModifierConstructor
private (PacketByteBuf buf)
public (SyncedClientOptions options)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_56474(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientOptionsC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerCommonPacketListener listener)
method_12133(class_8706 arg0)
apply(ServerCommonPacketListener arg0)
public SyncedClientOptions
information()
comp_1963()
options()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)