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

Move Player Status Only

Play 0x21, client → server.

play · 0x21 · serverbound (client → server)

Sent when the player has not moved or turned but the flags (on-ground, horizontal collision) changed, or as a periodic movement heartbeat roughly every 20 ticks. It carries no position, so the server keeps the last known coordinates.

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

Fields

Field Type Notes
flags MovementFlags

Send it

await client.sendPacket("MovePlayerStatusOnly", {
  flags: /* MovementFlags */,
});

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

Source: src/Core/Versions/776/Packets/play/serverbound/MovePlayerStatusOnly.ts

Was this page helpful?