Examples: wood_type:"acacia", bite_counter:3, open_bit:1b.
States: The block's states as keys and values. Name: The block's identifier, such as minecraft:planks. This list contains the ordered entries that the block indices are referring to. However, currently, only default is saved and loaded.Ī single palette (currently only named default).īlock_palette: List of block states. Palette: Contains multiple named palettes, presumably to support multiple variants of the same structure. Tags like Pos and UniqueID are saved, but replaced upon loading. Of entities: List of entities as NBT, stored exactly the same as entities in the world file itself. This layer is usually empty, except for water when the block here is waterlogged. Of Indices for blocks in the secondary layer. Of Indices for blocks in the primary layer. This occurs when structure voids are saved, and is the case for most blocks in the second layer. Index values equal to -1 indicate no block, causing any existing block to remain upon loading. For example, if the structure size is, then the 24 (product of the dimensions) values in each layer list represent the blocks located at relative to the origin.
Proceeds in ZYX order from the lowest corner to the highest one. Each block is stored as an integer index into the palette (see below). These contain the blocks in the structure. Size of the structure in the Z direction.īlock_indices: List containing two sublists, one for each layer. Size of the structure in the Y direction. Size of the structure in the X direction. Size: List of three integers describing the size of the structure's bounds. The tag structure is as follows:įormat_version: Currently always set to 1. Like all Bedrock Edition NBT files, they are stored in little-endian format. Mcstructure files are uncompressed NBT files. In this case, the file in the mystructure folder is the one that "wins," resulting in the file directly in the structures folder being ignored.