Commands/getchunks

Minecraft Wiki article. Categories: Bedrock_Edition, Minecraft_Education, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/getchunks on the Minecraft Wiki. Mirrored from revision 2580819. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This feature is exclusive to Bedrock Edition and Minecraft Education.
 
/getchunks


Syntax
getchunks <dimension: string>

Example usage:

getchunks overworld

Returns an array of arrays. Each of the arrays contains an x and z coordinate.

e.g.

[\n' +

      '   [ 80, -3 ],\n' +

      '   [ 3, -4 ],\n' +  

      '   [ 78, -3 ],\n' +

      '   [ 77, 6 ],\n' +  

      '   [ 76, -4 ],\n' +

Sources