Skip to content
mc-protocol
Esc
↑↓navigate↵open⌘Jpreview
On this page

Update Enabled Features

Configuration 0x0C, server → client.

config · 0x0C · clientbound (server → client)

Lists the feature flags (for example minecraft:vanilla and experimental datapack features) enabled on the server. Sent during configuration before FinishConfiguration. The client uses them to enable matching content and rendering.

Sent by the server, read by the client. Listen for it with client.on("UpdateEnabledFeatures", (data) => …) on the receiving side.

Fields

Field Type Notes
flags Array

Send it

await client.sendPacket("UpdateEnabledFeatures", {
  flags: ["minecraft:vanilla"],
});

Include minecraft:vanilla for a normal server and add identifiers for any experimental feature flags enabled by its data packs. Send this before FinishConfiguration.

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: src/Core/Versions/776/Packets/config/clientbound/UpdateEnabledFeatures.ts

Was this page helpful?