Commands/forceload

From Minecraft Wiki
< Commands(Redirected from Commands/chunk)
Jump to: navigation, search
forceload
Restrictions

Operator

First introduced

Java Edition 1.13.1 (Java Edition 18w31a)

Information icon.svg
This feature is exclusive to Java Edition.
Clock.png
This article needs updating.
Some of the information no longer applies to the latest version.

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

Syntax[edit]

forceload (add|remove) <x1> <z1> [<x2> <z2>]
forceload remove all
forceload query [<x1> <z1>]
Arguments
<x1><x2>
Specifies the selected chunk's x axis value.
<z1><z2>
Specifies the selected chunk's z axis value.
Result
Fails if the arguments are not specified correctly.
On success:
  • add – forces the chunk at the <x1> <z1> position (through to <x2> <z2> if set) to be loaded constantly.
  • remove – unforces the chunk at the <x1> <z1> position (through to <x2> <z2> if set) to be loaded constantly.
  • remove all – unforces all chunks to be loaded constantly.
  • query – if chunk coordinates are given, says whether the specified chunk is force loaded; otherwise, lists which chunks are force loaded.

Notes[edit]

  • Cannot be run from a command block except for /forceload query.
  • 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.
Property Spawn chunks Ticking areas Force-loaded chunks
Number of areas supported 1 10 256
Position Centered on world spawn point Specified by player, by /tickingarea Specified by player, by /forceload
Size 17×17 maximum (289 chunks) Specified by player; 1 to 100 chunks Specified by player, 1 to 256 chunks
Dimensions where usable Overworld Any Any
Crops grow No Yes No
Leaves decay No Yes No
Grass and mycelium spread No Yes No
Ice forms and melts No Yes No
Hostile mobs spawn >128 blocks from player No Yes Yes[verify]
Passive mobs spawn >240 blocks from player No Yes Yes[verify]
Explosions break blocks in nearby chunks No Yes Yes

History[edit]

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