Set Simulation Distance
Play 0x6F, server → client.
play · 0x6F · clientbound (server → client)
Tells the client the server’s simulation distance. The server sends it on join and when the value changes. The client uses it to decide which entities and chunks to tick locally.
Sent by the server, read by the client. Listen for it with client.on("SetSimulationDistance", (data) => …) on the receiving side.
Fields
| Field | Type | Notes |
|---|---|---|
distance |
VarInt |
Send it
await client.sendPacket("SetSimulationDistance", {
distance: /* VarInt */,
});
Field aliases listed under Notes are accepted as alternative keys when writing.
Source: src/Core/Versions/776/Packets/play/clientbound/SetSimulationDistance.ts