Structure¶
"type": "structure" ยท can stand in a page's elements or be a page of its own.
Structures from data packs, turning in a window: the files structure blocks save and villages are built from,
data/<namespace>/structure/<path>.nbt (on 1.20.1, data/<namespace>/structures/<path>.nbt). Clients don't have data
packs, so the element asks the server for a structure's blocks the first time it is shown; until then it says it is
loading. Air, structure voids and structure blocks are left out, and a jigsaw shows the block it leaves behind.
Structures of more than 32,768 blocks are too large to show.
Structures are for looking at: they have no requirement list and no eye clasp.
| Key | Type | Default | What it does |
|---|---|---|---|
structure |
id or object | One structure. | |
structures |
list | Several, picked between under the window. Use structure, structures or both. |
|
selector |
string | "arrows" |
How several are picked: "arrows", clasps back and on with the name and "⅔" between them, or "numbers", a numbered clasp each (arrows when there are too many to fit). |
title |
text | none | A heading. |
text |
text | "" |
Text under the window. |
height |
integer | 78 |
The window's height in page pixels. 40 to 130. |
Each structure is its id, or {"id": ..., "name": ...} to show it by a name.
{
"type": "structure",
"title": "Structures",
"selector": "numbers",
"structures": [
{ "id": "minecraft:igloo/top", "name": "Igloo" },
{ "id": "minecraft:village/plains/houses/plains_small_house_1", "name": "Plains House" },
"minecraft:shipwreck/rightsideup_full"
]
}
Note
Structures come from the server, so it needs Folios too. On a server without it, a structure says it can't be found.