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

Game Test Highlight Pos

Play 0x28, server → client.

play · 0x28 · clientbound (server → client)

Highlights a block position for the game test framework, with an absolute position and a relative position within the test structure. It is used only by the internal game test tooling. Normal clients do not need to handle it.

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

Fields

Field Type Notes
absolutePos Position also absoluteLocation
relativePos Position also relativeLocation

Send it

await client.sendPacket("GameTestHighlightPos", {
  absolutePos: /* Position */,
  relativePos: /* Position */,
});

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

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

Was this page helpful?