
Command
/forceload
Keeps chunks loaded all the time, stops keeping them loaded, or shows which chunks are kept loaded.
| /forceload add <from> [<to>] |
| /forceload query [<pos>] |
| /forceload remove all |
| /forceload remove <from> [<to>] |
| Argument | Kind of value | What to type |
|---|---|---|
| <from> | Column position | A block position (X and Z) inside the chunk, or one corner of the rectangle. |
| <to> | Column position | The opposite corner of the rectangle (X and Z). Optional. |
| <pos> | Column position | For query: a block position (X and Z) inside the chunk to check. |
| Permission level | 2: operators, worlds with cheats on, command blocks and functions |
| Works in | Operators on multiplayer servers, singleplayer worlds with cheats enabled, and command blocks and functions. |
| Result | add and remove report the chunk or the number of chunks and return the number of chunks that changed. query without a position lists the force loaded chunks of the dimension and returns their count. query with a position returns 1 if that chunk is force loaded. remove all returns 0. |
| add | Marks the chunk at the position, or every chunk in the rectangle between two positions, as always loaded. Fails with "No chunks were marked for force loading" if all of them were already marked. |
| remove | Removes the mark from the chunk or from the rectangle of chunks. remove all removes it from every chunk in the dimension. Fails with "No chunks were removed from force loading" if none of the chunks was marked. |
| query | Without a position, lists every force loaded chunk in the dimension. With a position, says whether that chunk is force loaded and fails if it is not. |
| Limit | One command can add or remove at most 256 chunks. |
| Coordinates | Positions are block coordinates X and Z, not chunk numbers. The command applies to the dimension it is run in. |
/forceload add ~ ~Keeps the chunk you are standing in loaded.
/forceload add 0 0 63 63Keeps the 16 chunks between the block positions 0 0 and 63 63 loaded.
/forceload queryLists all force loaded chunks in your dimension.
/forceload query ~ ~Tells you whether the chunk you are standing in is force loaded.
/forceload remove ~ ~Stops keeping the chunk you are standing in loaded.
/forceload remove allStops force loading every chunk in your dimension.

