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

Update Tags

Play 0x86, server → client.

play · 0x86 · clientbound (server → client)

Sends registry tags (block, item, fluid, entity type, etc.) so the client knows tag membership for prediction and rendering. The server sends it after login and after datapack reload. In 1.20.2+ this is normally sent in configuration state but is still valid in play.

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

Fields

Field Type Notes
tags Array

Send it

await client.sendPacket("UpdateTags", {
  tags: /* Array */,
});

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

Source: src/Core/Versions/776/Packets/play/clientbound/UpdateTags.ts

Was this page helpful?