Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Template pool

From SAS Gaming Wiki
Revision as of 11:17, 6 May 2026 by SyncBot (talk | contribs) (Sync: new page from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template pool is a group of structure pieces of Minecraft:jigsaw structures. A structure piece is a Minecraft:structure template, a Minecraft:placed feature, or a combination of multiple other pieces. During generation, pieces are randomly selected from the pool. Template pools are configured using Minecraft:JSON files stored within a data pack in the folder Template:Cd or a addon at Template:Cd.

JSON format

Template:El:

<section begin="json format" />

Template:El:

<section begin="json format" />

<section end="json format" />

Pool elements

A pool element represents a single piece of a Minecraft:jigsaw structure.

Single pool element

This piece places a single Minecraft:structure template. The jigsaw blocks in the template are used for connections and the size of the template determines the bounding box of the piece. The template gets processed using a Minecraft:processor list.

Template:More info

Legacy single pool element

Template:Exclusive This is a legacy version of the single pool element that doesn't place any air blocks in the template, instead keeping the original block of the world.

Feature pool element

Template:Exclusive This piece places a Minecraft:placed feature. The bounding box of the piece is 1×1×1 blocks. The piece gets connected to its parent piece as if it had a jigsaw block that faces downwards with the name Template:Cd.

Feature will always attempt to spawn if jigsaw Template:Cd is set to Template:Cd. If Template:Cd is set to Template:Cd, then a feature will attempth to spawn only when structure rotation upon generation is corresponding to jigsaw Template:Cd in next cases: 0°=Template:Cd, 90°=Template:Cd, 180°=Template:Cd, 270°=Template:Cd.

List pool element

Template:Exclusive This piece places multiple pool elements in sequence. The first element is connected using a jigsaw block, further elements are placed with their starting point at (0,0,0) of the bounding box of the first element using the same rotation. If an element fails to generate, then it and all further elements are discarded. The bounding box of the piece is the smallest box that contains all element bounding boxes. This piece cannot generate any further child pieces.

Empty pool element

This piece doesn't place anything.

External links

Navigation

Template:Navbox Java Edition technical

Minecraft:de:Vorlagenpool Minecraft:fr:Groupe de modèles Minecraft:pt:Conjunto de modelos Minecraft:zh:模板池