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

Forget Level Chunk

Play 0x25, server → client.

play · 0x25 · clientbound (server → client)

Tells the client to unload the chunk at chunkX, chunkZ. The server sends it when the chunk leaves the player’s view distance. The client removes the chunk and its entities from memory.

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

Fields

Field Type Notes
chunkZ Int
chunkX Int

Send it

await client.sendPacket("ForgetLevelChunk", {
  chunkZ: /* Int */,
  chunkX: /* Int */,
});

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

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

Was this page helpful?