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

Debug Entity Value

Play 0x1C, server → client.

play · 0x1C · clientbound (server → client)

Sends a debug value update for the entity entityId. It is part of the debug subscription system used by development tools; the client only uses it when subscribed to that debug data. Normal clients ignore it.

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

Fields

Field Type Notes
entityId VarInt
update DebugSubscriptionUpdate

Send it

await client.sendPacket("DebugEntityValue", {
  entityId: /* VarInt */,
  update: /* DebugSubscriptionUpdate */,
});

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

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

Was this page helpful?