Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/forceload: Difference between revisions

From SAS Gaming Wiki
imported>Vyrolan
Correcting info about crop growth in forceloaded chunks to account for changes in 1.21.5.
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 5: Line 5:
}}
}}


Force [[Minecraft:chunk]]s to load constantly or not, or lists/queries forceloaded chunks.
Force chunks to load constantly or not, or lists/queries forceloaded chunks.


== Usage ==
== Usage ==
Line 11: Line 11:
Forced chunks get load ticket with load level of 31, the same level as the ticket caused by a player, which means that the said chunks process all aspects of the game, while adjacent chunks get activated by the load level's spreading. But since it increases its load level per chunk when spreading, adjacent chunks don't process every aspect of the game as well.
Forced chunks get load ticket with load level of 31, the same level as the ticket caused by a player, which means that the said chunks process all aspects of the game, while adjacent chunks get activated by the load level's spreading. But since it increases its load level per chunk when spreading, adjacent chunks don't process every aspect of the game as well.


As of [[Minecraft:Java_Edition_1.21.5#Blocks_2|version 1.21.5]], crops do grow in forceloaded chunks even without a nearby player.  Blocks in forceloaded chunks receive random ticks (see [[Minecraft:Tick#Chunk_tick|chunk ticks]]) and process all updates except for mob spawning, lightning strikes, and fire spreading (unless game rule {{cd|allowFireTicksAwayFromPlayer}} is set to true).
As of version 1.21.5, crops do grow in forceloaded chunks even without a nearby player.  Blocks in forceloaded chunks receive random ticks (see [[Minecraft:Tick#Chunk_tick|chunk ticks]]) and process all updates except for mob spawning, lightning strikes, and fire spreading (unless game rule {{cd|allowFireTicksAwayFromPlayer}} is set to true).


Coordinates are actually [[Minecraft:Coordinates#Block position|block coordinates]]. In order to forceload chunks 0,0 to 1,2, the [[Minecraft:player]] should use commands like {{code|/forceload add 0 0 31 47}}, which loads chunks 0,0 to 1,2 (1,2 inclusive, 2×3 chunks). When using {{code|/forceload add 0 0 10 30}} chunks 0,0 to 0,1 are actually loaded (one chunk equals 16×16 blocks on x/z axis).
Coordinates are actually [[Minecraft:Coordinates#Block position|block coordinates]]. In order to forceload chunks 0,0 to 1,2, the player should use commands like {{code|/forceload add 0 0 31 47}}, which loads chunks 0,0 to 1,2 (1,2 inclusive, 2×3 chunks). When using {{code|/forceload add 0 0 10 30}} chunks 0,0 to 0,1 are actually loaded (one chunk equals 16×16 blocks on x/z axis).


Similarly, {{code|/forceload query}} uses block coordinates as well.
Similarly, {{code|/forceload query}} uses block coordinates as well.
Line 77: Line 77:
{{Navbox commands}}
{{Navbox commands}}


[[Minecraft:de:Befehl/forceload]]
de:Befehl/forceload
[[Minecraft:es:Comandos/forceload]]
es:Comandos/forceload
[[Minecraft:ja:コマンド/forceload]]
ja:コマンド/forceload
[[Minecraft:pt:Comandos/forceload]]
pt:Comandos/forceload
[[Minecraft:ru:Команды консоли/forceload]]
ru:Команды консоли/forceload
[[Minecraft:zh:命令/forceload]]
zh:命令/forceload

Revision as of 15:44, 9 April 2026

Template:ForTemplate:Exclusive Template:Infobox command

Force chunks to load constantly or not, or lists/queries forceloaded chunks.

Usage

Template:See also Forced chunks get load ticket with load level of 31, the same level as the ticket caused by a player, which means that the said chunks process all aspects of the game, while adjacent chunks get activated by the load level's spreading. But since it increases its load level per chunk when spreading, adjacent chunks don't process every aspect of the game as well.

As of version 1.21.5, crops do grow in forceloaded chunks even without a nearby player. Blocks in forceloaded chunks receive random ticks (see chunk ticks) and process all updates except for mob spawning, lightning strikes, and fire spreading (unless game rule Template:Cd is set to true).

Coordinates are actually block coordinates. In order to forceload chunks 0,0 to 1,2, the player should use commands like Template:Code, which loads chunks 0,0 to 1,2 (1,2 inclusive, 2×3 chunks). When using Template:Code chunks 0,0 to 0,1 are actually loaded (one chunk equals 16×16 blocks on x/z axis).

Similarly, Template:Code uses block coordinates as well.

Syntax

forceload add <from> [<to>]

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

forceload remove <from> [<to>]

Unforces the chunk at the <from> block position (through the <to> block position, 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 block 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

Template:Argument and Template:Argument

Specifies the targeted chunks based on block position.
Template:Arg desc

Template:Argument

Specifies a chunk to query based on block position.
Template:Arg desc

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table

History

Template:HistoryTable

References

<references/>

Navigation

Template:Navbox commands

de:Befehl/forceload es:Comandos/forceload ja:コマンド/forceload pt:Comandos/forceload ru:Команды консоли/forceload zh:命令/forceload