net.minecraft.network.packet.s2c.config

public record FeaturesS2CPacket

implements Packet<ClientConfigurationPacketListener>

net.minecraft.network.protocol.configuration.ClientboundUpdateEnabledFeaturesPacket
net.minecraft.class_7832
net.minecraft.network.packet.s2c.config.FeaturesS2CPacket

Field summary

Modifier and TypeField
private final Set<Identifier>
features
comp_1113
features
public static final PacketCodec<PacketByteBuf, FeaturesS2CPacket>
STREAM_CODEC
field_48693
CODEC

Constructor summary

ModifierConstructor
private (PacketByteBuf buf)
public (Set<Identifier> features)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_56509(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<FeaturesS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientConfigurationPacketListener listener)
method_46348(class_8732 arg0)
apply(ClientConfigurationPacketListener arg0)
public Set<Identifier>
features()
comp_1113()
features()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)