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{
"title": "<code>/getchunks</code>",
"rows": [
{
"field": "Hidden",
"label": "Visibility"
},
{
"field": "3",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
- 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' +
Navigation
Sources
- Commands/getchunks — Minecraft Wiki, CC BY-NC-SA 3.0, revision 2580819.