Structure Block file format

Structure files are stored as a gzipped NBT file. This file format is used to store structures such as End city, Igloo and Fossil into the assets/minecraft/structures folder, inside the minecraft.jar. Custom structure can also be saved and loaded using the Structure Block. These structures are saved into the structures folder of the minecraft map.

NBT Structure
All the specified positions are relative to the block located toward -X, -Y, -Z


 * : The root tag.
 *  (removed in 1.11) : Version of the structure (Currently 1)
 * : Version of the NBT structure.
 * : Name of the player who created this structure
 * : 3 TAG_Int describing the size of the structure
 * : Set of different block state used in the structure.
 * : Block state
 * : Id of the block
 * : List of block state properties, with [name] being the name of the block state property
 * : value of the property
 * : List of individual block in the structure.
 * Individual block
 * : Index of the block state in the palette
 * : 3 TAG_Int describing the position of this block
 * : nbt of the block (optional)
 * : List of entities in the structure
 * : Entity
 * : 3 TAG_Double describing the exact position of the entity
 * : 3 TAG_Int describing the block position of the entity
 * : nbt of the entity (required)

Konstruktionsvorlagen