Tab List
Play 0x7A, server → client.
play · 0x7A · clientbound (server → client)
Sets the header and footer text shown above and below the player list. The server sends it when the text changes. Empty components clear them.
Sent by the server, read by the client. Listen for it with client.on("TabList", (data) => …) on the receiving side.
Fields
| Field | Type | Notes |
|---|---|---|
header |
NBT | |
footer |
NBT |
Send it
await client.sendPacket("TabList", {
header: /* NBT */,
footer: /* NBT */,
});
Field aliases listed under Notes are accepted as alternative keys when writing.
Source: src/Core/Versions/776/Packets/play/clientbound/TabList.ts