Move Entity Pos
Play 0x35, server → client.
play · 0x35 · clientbound (server → client)
Moves the entity entityId by a small relative offset (dX, dY, dZ in 1/4096 block units) without changing rotation. The server sends it when an entity moves less than 8 blocks. The client adds the delta to the entity’s position; larger moves use EntityPositionSync.
Sent by the server, read by the client. Listen for it with client.on("MoveEntityPos", (data) => …) on the receiving side.
Fields
| Field | Type | Notes |
|---|---|---|
entityId |
VarInt | |
dX |
Short | |
dY |
Short | |
dZ |
Short | |
onGround |
Boolean |
Send it
await client.sendPacket("MoveEntityPos", {
entityId: /* VarInt */,
dX: /* Short */,
dY: /* Short */,
dZ: /* Short */,
onGround: /* Boolean */,
});
Field aliases listed under Notes are accepted as alternative keys when writing.
Source: src/Core/Versions/776/Packets/play/clientbound/MoveEntityPos.ts