Commands/forceload

From Minecraft Wiki
Jump to: navigation, search
forceload
Restrictions

Operator

First introduced

Java Edition 1.13.1 (18w31a)

Information icon.svg
This feature is exclusive to Java Edition.

Force chunks to load constantly or not, forceload add, forceload query and forceload remove are three separated commands.

Syntax[edit]

forceload add <from> [<to>]

Forces the chunk at the <from> position (through to <to> if set) in the dimension of the command's execution to be loaded constantly.

forceload remove <from> [<to>]

Unforces the chunk at the <from> position (through to <to> if set) in the dimension of the command's execution to be loaded constantly.

forceload remove all

Unforces all chunks in the dimension of the command's execution to be loaded constantly.

forceload query [<pos>]

If chunk coordinates are given, displays the specified chunk in the dimension of the command's execution is force loaded; otherwise, lists which chunks in the dimension of the command's execution are force loaded.

Arguments[edit]

<from>: column_pos and <to>: column_pos

Must be a column coordinates composed of <x> and <z>, each of which must be an integer or tilde and caret notation.
Specifies the targeted chunks.

<pos>: column_pos

Must be a column coordinates composed of <x> and <z>, each of which must be an integer or tilde and caret notation.
Specifies a chunk to query.

Result[edit]

CommandTriggerJava Edition
anythe arguments are not specified correctly Unparseable
/forceload add ...if more than 256 chunks are specified Failed
if there's a specified chunk that is out of the world
/forceload add ...if all specified chunks have already been forced to be loaded
/forceload remove <from> [<to>]if none of specified chunks have been forced to be loaded
/forceload query <pos>if the specified chunk hasn't been forced to be loaded
anyOn successForces/unforces chunks to load constantly
Or list/query the forceloaded chunk(s).

Output[edit]

CommandEditionSituationSuccess Count/execute store succeess .../execute store result ...
anyJava EditionOn fail000
/forceload add ...On success11the number of forceloaded chunks that is newly added.
/forceload remove <from> [<to>]On success11the number of forceloaded chunks that is successfully removed.
/forceload remove allOn success110
/forceload queryOn success11The number of forceloaded blocks in the current dimension.
/forceload query <pos>On success111

Note[edit]

  • Forced chunks get load ticket with load level of 31, the same as ticket chunks get by being in player's chunk loading distance, which means that the said chunk processes all aspects of the game while adjacent chunks get activated by the load level's spread but since it increases its load level each time, adjacent chunks don't process every aspect of the game as well. See also chunk.
  • Crops do not grow in forceloaded chunks unless the player is nearby. Crop growing is depend on chunk ticks.
  • Coordinates are actually block coordinates. In order to forceload chunks 0,0 to 1,2, the player should use /forceload add 0 0 31 47, which loads chunks 0,0 to 1,2 (1,2 inclusive, 2 x 3 chunks).
  • When using /forceload add 0 0 10 30 chunks 0,0 to 0,1 are actually loaded (one chunk equals 16x16 blocks on x/z axis). However, /forceload query gives result in chunk coordinates.

History[edit]

Java Edition
1.13.118w31aAdded /chunk.
pre1Renamed /chunk to /forceload.
1.14.4pre4/forceload is now available up to permission level 2.