Commands/forceload

Force chunks to load constantly or not,,   and   are three separated commands.


 * Syntax




 * Arguments


 * Specifies the selected chunk's x axis value.
 * Specifies the selected chunk's x axis value.


 * Specifies the selected chunk's z axis value.
 * Specifies the selected chunk's z axis value.


 * Result


 * Fails if the arguments are not specified correctly.


 * On success:
 * - forces the chunk at the  position (through to the from  ) to be loaded constantly.
 * - unforces the chunk at the  position (through to the from  ) to be loaded constantly.
 * - unforces all chunks to be loaded constantly.


 * Notes
 * Cannot be run from a command block except for /forceload query.


 * Here is a comparison between /forceload, spawn chunks and ticking areas:


 * {| class="wikitable"

! Property !! Spawn Chunks !! Ticking Areas !/forceload
 * Number of areas supported || 1 || 10 || 256
 * Position || Centered on world spawn point || Specified by player || Specified by player
 * Size || 17&times;17 maximum (289 chunks) || Specified by player; 1 to 100 chunks || Specified by player
 * Dimensions where usable || Overworld || Any
 * Any
 * Crops grow || ||  ||
 * Leaves decay || ||  ||
 * Grass and mycelium spread || ||  ||
 * Ice forms and melts || ||  ||
 * Hostile mobs spawn >128 blocks from player || ||  ||
 * Passive mobs spawn >240 blocks from player || ||  ||
 * Explosions break blocks in nearby chunks || ||  ||
 * }
 * Grass and mycelium spread || ||  ||
 * Ice forms and melts || ||  ||
 * Hostile mobs spawn >128 blocks from player || ||  ||
 * Passive mobs spawn >240 blocks from player || ||  ||
 * Explosions break blocks in nearby chunks || ||  ||
 * }
 * Passive mobs spawn >240 blocks from player || ||  ||
 * Explosions break blocks in nearby chunks || ||  ||
 * }
 * Explosions break blocks in nearby chunks || ||  ||
 * }