Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Commands and cheatsAll commands

Switch game

23 Wikis · pick your game
/forceload

Command

/forceload

Keeps chunks loaded all the time, stops keeping them loaded, or shows which chunks are kept loaded.

Syntax

/forceload add <from> [<to>]
/forceload query [<pos>]
/forceload remove all
/forceload remove <from> [<to>]

Arguments

ArgumentKind of valueWhat to type
<from>Column positionA block position (X and Z) inside the chunk, or one corner of the rectangle.
<to>Column positionThe opposite corner of the rectangle (X and Z). Optional.
<pos>Column positionFor query: a block position (X and Z) inside the chunk to check.

Details

Permission level2: operators, worlds with cheats on, command blocks and functions
Works inOperators on multiplayer servers, singleplayer worlds with cheats enabled, and command blocks and functions.
Resultadd 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.
addMarks 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.
removeRemoves 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.
queryWithout 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.
LimitOne command can add or remove at most 256 chunks.
CoordinatesPositions are block coordinates X and Z, not chunk numbers. The command applies to the dimension it is run in.

Examples

/forceload add ~ ~

Keeps the chunk you are standing in loaded.

/forceload add 0 0 63 63

Keeps the 16 chunks between the block positions 0 0 and 63 63 loaded.

/forceload query

Lists 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 all

Stops force loading every chunk in your dimension.

Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)